.. _CS Structures: ========================== CS Structures ========================== .. toctree:: :maxdepth: 1 * :ref:`CSaveGameSlot` * :ref:`CSavedGameFamiliars` * :ref:`CSavedGameHeader` * :ref:`CSavedGameJournalEntry` * :ref:`CSavedGamePartyCreature` * :ref:`CSavedGameStoredLocation` * :ref:`CSchoolAndSecondaryDecrementing` * :ref:`CScreenAI` * :ref:`CScreenChapter` * :ref:`CScreenCharacter` * :ref:`CScreenCharacterStoredMageSpell` * :ref:`CScreenConnection` * :ref:`CScreenCreateChar` * :ref:`CScreenCreateCharStep` * :ref:`CScreenCreateParty` * :ref:`CScreenDLC` * :ref:`CScreenInventory` * :ref:`CScreenJournal` * :ref:`CScreenLoad` * :ref:`CScreenMap` * :ref:`CScreenMovies` * :ref:`CScreenMultiPlayer` * :ref:`CScreenOptions` * :ref:`CScreenPriestSpell` * :ref:`CScreenSave` * :ref:`CScreenStart` * :ref:`CScreenStore` * :ref:`CScreenStoreItem` * :ref:`CScreenWizSpell` * :ref:`CScreenWorld` * :ref:`CScreenWorldMap` * :ref:`CScriptCache` * :ref:`CSearchBitmap` * :ref:`CSearchRequest` * :ref:`CSelectiveBonus` * :ref:`CSelectiveBonusList` * :ref:`CSelectiveWeaponType` * :ref:`CSelectiveWeaponTypeList` * :ref:`CSequenceSound` * :ref:`CSequenceSoundList` * :ref:`CSize` * :ref:`CSnowFlake` * :ref:`CSnowStorm` * :ref:`CSound` * :ref:`CSoundChannel` * :ref:`CSoundExtensionBase` * :ref:`CSoundExtensionFile` * :ref:`CSoundImp` * :ref:`CSoundMixer` * :ref:`CSoundMixerImp` * :ref:`CSoundProperties` * :ref:`CSparkle` * :ref:`CSparkleCluster` * :ref:`CSpawn` * :ref:`CSpawn::ePMode` * :ref:`CSpawnFile` * :ref:`CSpawnList` * :ref:`CSpawnPoint` * :ref:`CSpawnPointArray` * :ref:`CSpawnPointVar` * :ref:`CSpawnVar` * :ref:`CSpell` * :ref:`CSpellLevelDecrementing` * :ref:`CStore` * :ref:`CStoreFile` * :ref:`CStoreFileDrinks` * :ref:`CStoreFileHeader` * :ref:`CStoreFileItem` * :ref:`CStoreFileSpell` * :ref:`CString` * :ref:`CStringData` * :ref:`CStringList` * :ref:`CStringList::CNode` .. _CSaveGameSlot: CSaveGameSlot ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+------------------------+-------------------------------+--------------------+ | **Offset** | **Size (Total: 1056)** | **Type** | **Field** | +------------+------------------------+-------------------------------+--------------------+ | 0x0 | 8 | :ref:`CString` | m_sFileName | +------------+------------------------+-------------------------------+--------------------+ | 0x8 | 8 | :ref:`CString` | m_sSlotName | +------------+------------------------+-------------------------------+--------------------+ | 0x10 | 144 | :ref:`CResBitmap` | m_cResScreenShot | +------------+------------------------+-------------------------------+--------------------+ | 0xA0 | 144 | :ref:`CResBitmap` | m_cBmpResPortrait0 | +------------+------------------------+-------------------------------+--------------------+ | 0x130 | 144 | :ref:`CResBitmap` | m_cBmpResPortrait1 | +------------+------------------------+-------------------------------+--------------------+ | 0x1C0 | 144 | :ref:`CResBitmap` | m_cBmpResPortrait2 | +------------+------------------------+-------------------------------+--------------------+ | 0x250 | 144 | :ref:`CResBitmap` | m_cBmpResPortrait3 | +------------+------------------------+-------------------------------+--------------------+ | 0x2E0 | 144 | :ref:`CResBitmap` | m_cBmpResPortrait4 | +------------+------------------------+-------------------------------+--------------------+ | 0x370 | 144 | :ref:`CResBitmap` | m_cBmpResPortrait5 | +------------+------------------------+-------------------------------+--------------------+ | 0x400 | 8 | :ref:`CResRef` | m_cResPortrait | +------------+------------------------+-------------------------------+--------------------+ | 0x408 | 8 | :ref:`CString` | m_sCharacterName | +------------+------------------------+-------------------------------+--------------------+ | 0x410 | 4 | unsigned int | m_nTime | +------------+------------------------+-------------------------------+--------------------+ | 0x414 | 4 | int | m_nChapter | +------------+------------------------+-------------------------------+--------------------+ | 0x418 | 8 | :ref:`CString` | m_sChapter | +------------+------------------------+-------------------------------+--------------------+ ---- .. _CSavedGameFamiliars: CSavedGameFamiliars ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+-----------------------------------+-----------------+ | **Offset** | **Size (Total: 400)** | **Type** | **Field** | +------------+-----------------------+-----------------------------------+-----------------+ | 0x0 | 72 | Array,9> | m_resrefDefault | +------------+-----------------------+-----------------------------------+-----------------+ | 0x48 | 4 | unsigned int | m_resrefOffset | +------------+-----------------------+-----------------------------------+-----------------+ | 0x4C | 324 | Array,9> | m_resrefCount | +------------+-----------------------+-----------------------------------+-----------------+ ---- .. _CSavedGameHeader: CSavedGameHeader ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+--------------------------+------------------------------------+ | **Offset** | **Size (Total: 172)** | **Type** | **Field** | +------------+-----------------------+--------------------------+------------------------------------+ | 0x0 | 4 | unsigned int | m_worldTime | +------------+-----------------------+--------------------------+------------------------------------+ | 0x4 | 2 | __int16 | m_curFormation | +------------+-----------------------+--------------------------+------------------------------------+ | 0x6 | 10 | Array<__int16,5> | m_quickFormations | +------------+-----------------------+--------------------------+------------------------------------+ | 0x10 | 4 | unsigned int | m_nPartyGold | +------------+-----------------------+--------------------------+------------------------------------+ | 0x14 | 2 | unsigned __int16 | m_nPCAreaViewed | +------------+-----------------------+--------------------------+------------------------------------+ | 0x16 | 2 | unsigned __int16 | m_wWeatherFlags | +------------+-----------------------+--------------------------+------------------------------------+ | 0x18 | 4 | unsigned int | m_partyCreatureTableOffset | +------------+-----------------------+--------------------------+------------------------------------+ | 0x1C | 4 | unsigned int | m_partyCreatureTableCount | +------------+-----------------------+--------------------------+------------------------------------+ | 0x20 | 4 | unsigned int | m_partyInventoryTableOffset | +------------+-----------------------+--------------------------+------------------------------------+ | 0x24 | 4 | unsigned int | m_partyInventoryTableCount | +------------+-----------------------+--------------------------+------------------------------------+ | 0x28 | 4 | unsigned int | m_globalCreatureTableOffset | +------------+-----------------------+--------------------------+------------------------------------+ | 0x2C | 4 | unsigned int | m_globalCreatureTableCount | +------------+-----------------------+--------------------------+------------------------------------+ | 0x30 | 4 | unsigned int | m_globalVariablesOffset | +------------+-----------------------+--------------------------+------------------------------------+ | 0x34 | 4 | unsigned int | m_globalVariablesCount | +------------+-----------------------+--------------------------+------------------------------------+ | 0x38 | 8 | Array | m_currentWorldArea | +------------+-----------------------+--------------------------+------------------------------------+ | 0x40 | 4 | unsigned int | m_currentLink | +------------+-----------------------+--------------------------+------------------------------------+ | 0x44 | 4 | unsigned int | m_journalEntriesCount | +------------+-----------------------+--------------------------+------------------------------------+ | 0x48 | 4 | unsigned int | m_journalEntriesOffset | +------------+-----------------------+--------------------------+------------------------------------+ | 0x4C | 4 | int | m_reputation | +------------+-----------------------+--------------------------+------------------------------------+ | 0x50 | 8 | Array | m_masterArea | +------------+-----------------------+--------------------------+------------------------------------+ | 0x58 | 4 | unsigned int | m_dwFlags | +------------+-----------------------+--------------------------+------------------------------------+ | 0x5C | 4 | unsigned int | m_versionNumber | +------------+-----------------------+--------------------------+------------------------------------+ | 0x60 | 4 | unsigned int | m_familiarsOffset | +------------+-----------------------+--------------------------+------------------------------------+ | 0x64 | 4 | unsigned int | m_storedLocationsOffset | +------------+-----------------------+--------------------------+------------------------------------+ | 0x68 | 4 | unsigned int | m_storedLocationsCount | +------------+-----------------------+--------------------------+------------------------------------+ | 0x6C | 4 | unsigned int | m_gameTime | +------------+-----------------------+--------------------------+------------------------------------+ | 0x70 | 4 | unsigned int | m_storedLocationsOffsetPocketPlane | +------------+-----------------------+--------------------------+------------------------------------+ | 0x74 | 4 | unsigned int | m_storedLocationsCountPocketPlane | +------------+-----------------------+--------------------------+------------------------------------+ | 0x78 | 4 | unsigned int | m_zoomLevel | +------------+-----------------------+--------------------------+------------------------------------+ | 0x7C | 8 | Array | m_encounterArea | +------------+-----------------------+--------------------------+------------------------------------+ | 0x84 | 8 | Array | m_worldMap | +------------+-----------------------+--------------------------+------------------------------------+ | 0x8C | 8 | Array | m_campaign | +------------+-----------------------+--------------------------+------------------------------------+ | 0x94 | 4 | unsigned int | m_nFamiliarSummoner | +------------+-----------------------+--------------------------+------------------------------------+ | 0x98 | 20 | Array | m_encounterEntry | +------------+-----------------------+--------------------------+------------------------------------+ ---- .. _CSavedGameJournalEntry: CSavedGameJournalEntry ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-----------------+-------------+ | **Offset** | **Size (Total: 12)** | **Type** | **Field** | +------------+----------------------+-----------------+-------------+ | 0x0 | 4 | unsigned int | m_strEntry | +------------+----------------------+-----------------+-------------+ | 0x4 | 4 | unsigned int | m_time | +------------+----------------------+-----------------+-------------+ | 0x8 | 1 | unsigned __int8 | m_chapter | +------------+----------------------+-----------------+-------------+ | 0x9 | 1 | unsigned __int8 | m_read | +------------+----------------------+-----------------+-------------+ | 0xA | 1 | unsigned __int8 | m_type | +------------+----------------------+-----------------+-------------+ | 0xB | 1 | unsigned __int8 | m_character | +------------+----------------------+-----------------+-------------+ ---- .. _CSavedGamePartyCreature: CSavedGamePartyCreature ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+-----------------------------------+--------------------------------+ | **Offset** | **Size (Total: 352)** | **Type** | **Field** | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x0 | 2 | unsigned __int16 | m_wFlags | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x2 | 2 | unsigned __int16 | m_portraitId | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x4 | 4 | unsigned int | m_creatureOffset | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x8 | 4 | unsigned int | m_creatureSize | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xC | 8 | Array | m_creatureResRef | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x14 | 4 | unsigned int | m_creatureFacing | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x18 | 8 | Array | m_areaName | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x20 | 2 | unsigned __int16 | m_posX | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x22 | 2 | unsigned __int16 | m_posY | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x24 | 2 | unsigned __int16 | m_posViewX | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x26 | 2 | unsigned __int16 | m_posViewY | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x28 | 2 | unsigned __int16 | m_nModalState | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x2A | 2 | __int16 | m_nHappiness | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x2C | 96 | Array | m_nNumberOfTimesInteractedWith | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x8C | 8 | Array<__int16,4> | m_quickWeaponsItemNum | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x94 | 8 | Array<__int16,4> | m_quickWeaponsAbilityNum | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x9C | 24 | Array,3> | m_quickSpellsSpellId | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xB4 | 6 | Array<__int16,3> | m_quickItemsItemNum | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xBA | 6 | Array<__int16,3> | m_quickItemsAbilityNum | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xC0 | 32 | Array | m_name | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xE0 | 4 | unsigned int | m_numberTimesTalkedTo | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xE4 | 4 | unsigned int | m_strStrongestKillName | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xE8 | 4 | unsigned int | m_nStrongestKillXPValue | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xEC | 4 | unsigned int | m_nPreviousTimeWithParty | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xF0 | 4 | unsigned int | m_nJoinPartyTime | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xF4 | 1 | unsigned __int8 | m_bWithParty | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xF5 | 2 | Array | m_pad1 | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xF7 | 1 | char | m_cFirstResSlot | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xF8 | 4 | unsigned int | m_nChapterKillsXPValue | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0xFC | 4 | unsigned int | m_nChapterKillsNumber | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x100 | 4 | unsigned int | m_nGameKillsXPValue | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x104 | 4 | unsigned int | m_nGameKillsNumber | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x108 | 32 | Array,4> | m_lSpellStatsName | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x128 | 8 | Array<__int16,4> | m_lSpellStatsCount | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x130 | 32 | Array,4> | m_lWeaponStatsName | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x150 | 8 | Array<__int16,4> | m_lWeaponStatsCount | +------------+-----------------------+-----------------------------------+--------------------------------+ | 0x158 | 8 | Array | m_secondarySounds | +------------+-----------------------+-----------------------------------+--------------------------------+ **Notes** Related to `GAM V2.0 file format `_ * Offset ``0x00`` to ``0xE0`` is related to `GAME V2.0 NPCs (both in-party and out-of-party NPCs) `_ * Offset ``0xE4`` to ``0x158`` is related to `GAME V2.0 Character stats `_ * **m_nNumberOfTimesInteractedWith[24]** (offset ``0x2C``) doesnt appear to be used ---- .. _CSavedGameStoredLocation: CSavedGameStoredLocation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------+------------+ | **Offset** | **Size (Total: 12)** | **Type** | **Field** | +------------+----------------------+--------------------------+------------+ | 0x0 | 8 | Array | m_areaName | +------------+----------------------+--------------------------+------------+ | 0x8 | 2 | unsigned __int16 | m_xPos | +------------+----------------------+--------------------------+------------+ | 0xA | 2 | unsigned __int16 | m_yPos | +------------+----------------------+--------------------------+------------+ ---- .. _CSchoolAndSecondaryDecrementing: CSchoolAndSecondaryDecrementing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+---------------------+--------------+-----------+ | **Offset** | **Size (Total: 8)** | **Type** | **Field** | +------------+---------------------+--------------+-----------+ | 0x0 | 4 | unsigned int | m_nType | +------------+---------------------+--------------+-----------+ | 0x4 | 4 | int | m_nLevels | +------------+---------------------+--------------+-----------+ ---- .. _CScreenAI: CScreenAI ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenAI Class` +------------+-----------------------+-------------------------------------+------------------------+ | **Offset** | **Size (Total: 528)** | **Type** | **Field** | +------------+-----------------------+-------------------------------------+------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+-----------------------+-------------------------------------+------------------------+ | 0x50 | 288 | :ref:`CVidBitmap` | m_bmpScreen | +------------+-----------------------+-------------------------------------+------------------------+ | 0x170 | 56 | :ref:`C2DArray` | m_tSplashScreens | +------------+-----------------------+-------------------------------------+------------------------+ | 0x1A8 | 2 | __int16 | m_nSplashScreen | +------------+-----------------------+-------------------------------------+------------------------+ | | 2 | | ```` | +------------+-----------------------+-------------------------------------+------------------------+ | 0x1AC | 4 | int | m_nSplashTimer | +------------+-----------------------+-------------------------------------+------------------------+ | 0x1B0 | 4 | int | m_bInteractiveDemoQuit | +------------+-----------------------+-------------------------------------+------------------------+ | 0x1B4 | 1 | unsigned __int8 | m_nBmpDraw | +------------+-----------------------+-------------------------------------+------------------------+ | | 3 | | ```` | +------------+-----------------------+-------------------------------------+------------------------+ | 0x1B8 | 60 | Array<:ref:`CKeyInfo`,5> | m_pVirtualKeys | +------------+-----------------------+-------------------------------------+------------------------+ | 0x1F4 | 20 | Array | m_pVirtualKeysFlags | +------------+-----------------------+-------------------------------------+------------------------+ | 0x208 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+-----------------------+-------------------------------------+------------------------+ | | 7 | | ```` | +------------+-----------------------+-------------------------------------+------------------------+ ---- .. _CScreenChapter: CScreenChapter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenChapter Class` +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | **Offset** | **Size (Total: 384)** | **Type** | **Field** | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x50 | 60 | Array<:ref:`CKeyInfo`,5> | m_pVirtualKeys | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x8C | 20 | Array | m_pVirtualKeysFlags | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0xA0 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | | 3 | | ```` | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0xA4 | 4 | int | m_nChapter | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0xA8 | 4 | int | m_nDream | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0xAC | 8 | :ref:`CResRef` | m_cResText | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | | 4 | | ```` | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0xB8 | 8 | :ref:`CList`\* | m_pTextList | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0xC0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CResRef`\*> | m_bmpList | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0xF8 | 4 | int | m_nBmpFlip | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0xFC | 4 | int | m_nCurrBmp | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x100 | 4 | int | m_nParagraph | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x104 | 4 | int | m_nLine | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x108 | 32 | :ref:`CSound` | m_cVoiceSound | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x128 | 4 | int | m_bStartSound | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x12C | 4 | int | m_nEngineState | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x130 | 8 | :ref:`CResRef` | m_cResPower | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x138 | 4 | int | m_nSongCountDown | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | | 4 | | ```` | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x140 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x168 | 4 | int | m_bMPRemoveTextScreen | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x16C | 4 | int | m_nCustomSong | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x170 | 4 | int | m_waitingForNetwork | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | | 4 | | ```` | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ | 0x178 | 8 | :ref:`CWarp`\* | m_destinationEngine | +------------+-----------------------+--------------------------------------------------------------------------------------------+-----------------------+ ---- .. _CScreenCharacter: CScreenCharacter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenCharacter Class` +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | **Offset** | **Size (Total: 2088)** | **Type** | **Field** | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x670 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6A8 | 1 | unsigned __int8 | m_nDualClass | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | | 7 | | ```` | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6B0 | 8 | :ref:`CStringList`\* | m_pScripts | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6B8 | 4 | int | m_nScriptIndex | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6BC | 4 | int | m_nErrorState | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6C0 | 4 | int | m_nCharacterIndex | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6C8 | 8 | :ref:`CStringList`\* | m_pCharacters | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6D0 | 4 | int | m_bMultiPlayerViewable | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6D4 | 4 | int | m_bMultiPlayerModifyable | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6D8 | 8 | __POSITION* | m_nCurrentPortrait | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6E0 | 8 | :ref:`CStringList`\* | m_pAppearancePortraits | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6E8 | 8 | :ref:`CStringList`\* | m_pPortraits | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6F0 | 4 | int | m_nCustomSoundSetIndex | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6F4 | 4 | int | m_nCustomSoundIndex | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x6F8 | 8 | :ref:`CResRef` | m_cResPortraitSmall | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x700 | 8 | :ref:`CResRef` | m_cResPortraitLarge | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x708 | 7 | Array | m_aColor | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | | 1 | | ```` | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x710 | 8 | :ref:`CString` | m_sScript | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x718 | 44 | Array | m_bSmartScriptFlags | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x748 | 8 | :ref:`CString` | m_sNewScript | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x750 | 8 | :ref:`CResRef` | m_cResPortraitSmallTemp | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x758 | 8 | :ref:`CResRef` | m_cResPortraitMediumTemp | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x760 | 4 | unsigned int | m_nSpecialization | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x768 | 8 | :ref:`CStringList`\* | m_pSounds | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x770 | 8 | :ref:`CResRef` | m_cResSoundSet | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x778 | 8 | :ref:`CCreatureFileHeader`\* | m_pTempBaseStats | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x780 | 8 | :ref:`CDerivedStats`\* | m_pTempDerivedStats | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x788 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CResRef`\*> | m_lstMageSpells | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x7C0 | 4 | int | m_bShiftKeyDown | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x7C4 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x7C8 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | | 7 | | ```` | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x7D0 | 8 | :ref:`CString` | m_sExportName | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x7D8 | 4 | int | m_bAddInactiveAbilities | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x7DC | 36 | Array | m_OldMageSpells | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x800 | 28 | Array | m_OldPriestSpells | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x81C | 4 | int | m_bPauseState | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x820 | 4 | int | m_bIsLevelingUp | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ | 0x824 | 4 | int | m_bIsCharGenMenu | +------------+------------------------+--------------------------------------------------------------------------------------------+--------------------------+ ---- .. _CScreenCharacterStoredMageSpell: CScreenCharacterStoredMageSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+---------------------+-------------------------+---------------+ | **Offset** | **Size (Total: 9)** | **Type** | **Field** | +------------+---------------------+-------------------------+---------------+ | 0x0 | 8 | :ref:`CResRef` | m_cResSpell | +------------+---------------------+-------------------------+---------------+ | 0x8 | 1 | unsigned __int8 | m_nSpellLevel | +------------+---------------------+-------------------------+---------------+ ---- .. _CScreenConnection: CScreenConnection ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenConnection Class` +------------+------------------------+-------------------------------------+----------------------------------+ | **Offset** | **Size (Total: 1752)** | **Type** | **Field** | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x670 | 4 | int | m_bCtrlKeyDown | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x674 | 4 | int | m_bShiftKeyDown | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x678 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x67C | 4 | int | m_nProtocol | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x680 | 4 | int | m_nSessionIndex | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x684 | 16 | :ref:`_GUID<_GUID>` | m_guidSession | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x694 | 4 | unsigned int | m_dwLastSessionRefresh | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x698 | 4 | int | m_nEnumServiceProvidersCountDown | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x69C | 4 | int | m_bStartedCountDown | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6A0 | 1 | unsigned __int8 | m_bFirstRender | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6A1 | 1 | unsigned __int8 | m_bEliminateInitialize | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6A2 | 1 | unsigned __int8 | m_bEMSwapped | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6A3 | 1 | unsigned __int8 | m_bEMValue | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6A4 | 1 | unsigned __int8 | m_bEMWaiting | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6A5 | 1 | unsigned __int8 | m_nEMEvent | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6A6 | 1 | unsigned __int8 | m_nEMEventStage | +------------+------------------------+-------------------------------------+----------------------------------+ | | 1 | | ```` | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6A8 | 4 | int | m_nErrorState | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6AC | 4 | unsigned int | m_strErrorText | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6B0 | 4 | int | m_nNumErrorButtons | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6B4 | 12 | Array | m_strErrorButtonText | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6C0 | 4 | int | m_bAllowInput | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6C4 | 1 | unsigned __int8 | m_bEnumeratingAsynchronous | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6C5 | 1 | unsigned __int8 | m_bJoinWaiting | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6C6 | 1 | unsigned __int8 | m_bJoinComplete | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6C7 | 1 | unsigned __int8 | m_nJoinEvent | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6C8 | 4 | int | m_nJoinErrorCode | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6CC | 1 | unsigned __int8 | m_bJoinReturnValue | +------------+------------------------+-------------------------------------+----------------------------------+ | | 3 | | ```` | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6D0 | 4 | int | m_nWaitingForProviderNumber | +------------+------------------------+-------------------------------------+----------------------------------+ | 0x6D4 | 4 | int | m_nWaitingForProviderCount | +------------+------------------------+-------------------------------------+----------------------------------+ ---- .. _CScreenCreateChar: CScreenCreateChar ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenCreateChar Class` +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | **Offset** | **Size (Total: 2584)** | **Type** | **Field** | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x50 | 56 | :ref:`C2DArray` | m_kitList | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x88 | 176 | :ref:`CImportGame` | m_importGame | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x138 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x5D0 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x758 | 4 | int | m_bCtrlKeyDown | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x75C | 4 | int | m_bShiftKeyDown | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x760 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x764 | 4 | :ref:`CScreenCreateCharStep` | m_nFirstStep | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x768 | 4 | :ref:`CScreenCreateCharStep` | m_nCurrentStep | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x76C | 4 | :ref:`CScreenCreateCharStep` | m_nNextStep | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x770 | 4 | int | m_nGameSprite | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x774 | 4 | int | m_nExtraProficiencySlots | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x778 | 4 | int | m_nExtraAbilityPoints | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x77C | 4 | int | m_nExtraSpells | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x780 | 4 | int | m_nExtraSkillPoints | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x784 | 4 | int | m_nBasePickPockets | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x788 | 4 | int | m_nBaseOpenLocks | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x78C | 4 | int | m_nBaseDetectTraps | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x790 | 4 | int | m_nBaseMoveSilently | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x794 | 4 | int | m_nBaseHideInShadows | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x798 | 4 | int | m_nBaseDetectIllusion | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x79C | 4 | int | m_nBaseSetTraps | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A0 | 1 | unsigned __int8 | m_nMinSTR | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A1 | 1 | unsigned __int8 | m_nMinDEX | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A2 | 1 | unsigned __int8 | m_nMinCON | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A3 | 1 | unsigned __int8 | m_nMinINT | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A4 | 1 | unsigned __int8 | m_nMinWIS | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A5 | 1 | unsigned __int8 | m_nMinCHR | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A6 | 1 | unsigned __int8 | m_nMaxSTR | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A7 | 1 | unsigned __int8 | m_nMaxDEX | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A8 | 1 | unsigned __int8 | m_nMaxCON | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7A9 | 1 | unsigned __int8 | m_nMaxINT | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7AA | 1 | unsigned __int8 | m_nMaxWIS | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7AB | 1 | unsigned __int8 | m_nMaxCHR | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7AC | 1 | unsigned __int8 | m_nPreviousMin | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7AD | 1 | unsigned __int8 | m_nPreviousMax | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7B0 | 4 | int | m_nMaxProficiencySlots | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7B8 | 8 | __POSITION* | m_nCurrentPortrait | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7C0 | 8 | :ref:`CStringList`\* | m_pAppearancePortraits | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x7C8 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x800 | 4 | int | m_nEngineState | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x804 | 4 | int | m_nCharacterSlot | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x808 | 4 | int | m_nTopHatedRace | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x80C | 1 | unsigned __int8 | m_nPickRange | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x80D | 1 | unsigned __int8 | m_nMemorySTR | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x80E | 1 | unsigned __int8 | m_nMemorySTRExtra | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x80F | 1 | unsigned __int8 | m_nMemoryDEX | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x810 | 1 | unsigned __int8 | m_nMemoryCON | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x811 | 1 | unsigned __int8 | m_nMemoryINT | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x812 | 1 | unsigned __int8 | m_nMemoryWIS | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x813 | 1 | unsigned __int8 | m_nMemoryCHR | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x814 | 4 | int | m_nMemoryExtra | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x818 | 4 | int | m_nPortraitSmallIndex | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x81C | 4 | int | m_nPortraitMediumIndex | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x820 | 8 | :ref:`CStringList`\* | m_pPortraits | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x828 | 4 | int | m_nCustomSoundSetIndex | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x82C | 4 | int | m_nCustomSoundIndex | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x830 | 4 | int | m_nCharacterIndex | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x834 | 4 | int | m_nPrerollTopIndex | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x838 | 8 | :ref:`CStringList`\* | m_pCharacters | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x840 | 4 | int | m_bImported | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x848 | 8 | :ref:`CStringList`\* | m_pSounds | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x850 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x878 | 40 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8A0 | 40 | :ref:`CVidFont` | m_preLoadFontTool | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8C8 | 1 | unsigned __int8 | m_nCurrentSpellLevel | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8CC | 4 | int | m_nExtraMageSpells | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8D0 | 8 | :ref:`CCreatureFileHeader`\* | m_pOldBaseStats | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8D8 | 8 | :ref:`CDerivedStats`\* | m_pOldDerivedStats | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8E0 | 4 | int | m_nOldConHPBonus | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8E4 | 1 | unsigned __int8 | m_nCurrentSpellLevelChoice | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8E5 | 1 | unsigned __int8 | m_nCurrentSpellLevelChoiceMax | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8E6 | 2 | unsigned __int16 | m_nImportedCharHPs | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8E8 | 2 | unsigned __int16 | m_nImportedCharConBonus | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8EA | 1 | unsigned __int8 | m_nImportedDualClass | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8EC | 4 | unsigned int | m_nImportedDualKit | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8F0 | 4 | int | m_nImportedDualReactivated | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8F4 | 1 | unsigned __int8 | m_byImportedCharVersion | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8F6 | 2 | __int16 | m_nSelectedSpecialistSpells | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8F8 | 2 | __int16 | m_nMemorizedSpecialistSpells | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x8FC | 4 | int | m_nTotalKits | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x900 | 2 | unsigned __int16 | m_nHatedRaces | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x904 | 4 | importStateType | m_importState | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x908 | 4 | unsigned int | m_strDefaultHelpString | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x90C | 1 | unsigned __int8 | m_bUpdatedHelp | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x910 | 4 | unsigned int | m_strCurrentHelpString | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x914 | 4 | int | m_bGaveExtraXP | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x918 | 4 | int | m_nExtraXP | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x920 | 8 | :ref:`CString` | m_sImportCharName | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x928 | 4 | int | m_nErrorState | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x92C | 4 | unsigned int | m_strErrorText | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x930 | 4 | int | m_nNumErrorButtons | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x934 | 12 | Array | m_strErrorButtonText | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x940 | 36 | Array | m_OldMageSpells | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x964 | 28 | Array | m_OldPriestSpells | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x980 | 32 | :ref:`CTypedPtrArray`\<:ref:`CPtrArray`,char> | m_aBaseProficiencySlots | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9A0 | 8 | :ref:`CCreatureFileHeader`\* | m_pTempBaseStats | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9A8 | 8 | :ref:`CDerivedStats`\* | m_pTempDerivedStats | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9B0 | 28 | Array | m_storedSkillPoints | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9CC | 4 | int | m_bAddInactiveAbilities | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9D0 | 8 | :ref:`CStringList`\* | m_szCharInfoStorage | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9D8 | 4 | int | m_nSpellcasterLevel | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9DC | 4 | int | m_nNumLevelUpAbilities | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9E0 | 1 | unsigned __int8 | m_nCurrentAbilityLevelChoice | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9E4 | 4 | int | m_bFinishedAbilitySelection | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9E8 | 8 | :ref:`CGameAbilityList`\* | m_lstLevelUpAbilitiesList | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0x9F0 | 24 | Array | m_lstSelectedAbility | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0xA08 | 1 | unsigned __int8 | m_nSelectedAbilityInd | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0xA0C | 4 | int | m_nDualClass | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | 0xA10 | 4 | int | m_nSpecialization | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------------+-------------------------------+ ---- .. _CScreenCreateCharStep: CScreenCreateCharStep ^^^^^^^^^^^^^^^^^^^^^ +-----------------------------------------------------+---------------------+ | **Name** | **Value (Size: 4)** | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_GENDER | 0 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_PORTRAIT | 1 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_CUSTOMPORTRAITS | 2 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_RACE | 3 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_CLASS | 4 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_MULTICLASS | 5 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_KIT | 6 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_ALIGNMENT | 7 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_ABILITIES | 8 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_SKILLS | 9 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_HATEDRACE | 10 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_CHOOSE_MAGE | 11 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_MEMORIZE_MAGE | 12 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_MEMORIZE_PRIEST | 13 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_PROFICIENCIES | 14 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_APPEARANCE | 15 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_CUSTOMSOUNDS | 16 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_NAME | 17 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_DONE | 18 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_IMPORT | 19 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_EXPORT | 20 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_BIOGRAPHY | 21 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_PREROLL | 22 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_ERROR_MESSAGE | 23 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_DUALCLASS_CLASS | 24 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_DUALCLASS_PROFICIENCIES | 25 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_DUALCLASS_CHOOSE_MAGE | 26 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_DUALCLASS_DONE | 27 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_LEVELUP_PROFICIENCIES | 28 | +-----------------------------------------------------+---------------------+ | CSCREENCREATECHAR_STEP_LEVELUP_HIGH_LEVEL_ABILITIES | 29 | +-----------------------------------------------------+---------------------+ ---- .. _CScreenCreateParty: CScreenCreateParty ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenCreateParty Class` +------------+-----------------------+-------------------------------------+---------------------+ | **Offset** | **Size (Total: 224)** | **Type** | **Field** | +------------+-----------------------+-------------------------------------+---------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+-----------------------+-------------------------------------+---------------------+ | 0x50 | 60 | Array<:ref:`CKeyInfo`,5> | m_pVirtualKeys | +------------+-----------------------+-------------------------------------+---------------------+ | 0x8C | 4 | int | m_bCtrlKeyDown | +------------+-----------------------+-------------------------------------+---------------------+ | 0x90 | 20 | Array | m_pVirtualKeysFlags | +------------+-----------------------+-------------------------------------+---------------------+ | 0xA4 | 4 | int | m_nEngineState | +------------+-----------------------+-------------------------------------+---------------------+ | 0xA8 | 4 | int | m_firstCall | +------------+-----------------------+-------------------------------------+---------------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------------+---------------------+ | 0xB0 | 40 | :ref:`CVidFont` | m_preloadFontStnSml | +------------+-----------------------+-------------------------------------+---------------------+ | 0xD8 | 4 | int | m_nCharacterSlot | +------------+-----------------------+-------------------------------------+---------------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------------+---------------------+ ---- .. _CScreenDLC: CScreenDLC ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenDLC Class` +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | **Offset** | **Size (Total: 1896)** | **Type** | **Field** | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x670 | 4 | int | m_bExitProgram | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x678 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x6B0 | 4 | unsigned int | m_dwErrorTextId | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x6B4 | 4 | unsigned int | m_dwErrorState | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x6B8 | 4 | int | m_nNumErrorButtons | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x6BC | 12 | Array | m_strErrorButtonText | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x6C8 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CGameOptions`\*> | m_lOptionsStack | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x700 | 4 | int | m_bSpriteMirror | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x704 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | | 3 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x708 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x730 | 40 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x758 | 4 | int | m_nNumDLC | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x75C | 4 | int | m_nCurrentDLC | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | 0x760 | 4 | int | m_nDlcState | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------+----------------------+ ---- .. _CScreenInventory: CScreenInventory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenInventory Class` +------------+------------------------+-------------------------------------+-----------------------------+ | **Offset** | **Size (Total: 1904)** | **Type** | **Field** | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x50 | 8 | :ref:`CItem`\* | m_pTempItem | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x58 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x4F0 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x678 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+-------------------------------------+-----------------------------+ | | 3 | | ```` | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x67C | 8 | :ref:`CPoint` | m_cLastMousePosition | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x684 | 4 | int | m_nTopGroundItem | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x688 | 24 | Array | m_nGroundPile | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6A0 | 24 | Array | m_bGroundPileQueried | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6B8 | 4 | int | m_nErrorState | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6BC | 4 | unsigned int | m_strErrorText | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6C0 | 4 | int | m_nNumErrorButtons | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6C4 | 4 | int | m_nLastSwapPortrait | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6C8 | 4 | unsigned int | m_dwLastSwapButton | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6CC | 4 | int | m_bMultiPlayerViewable | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6D0 | 8 | :ref:`CResRef` | m_cCheckLearnSpellRes | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6D8 | 4 | int | m_nCheckLearnSpellCountDown | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6DC | 4 | int | m_bDroppedItemInHand | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6E0 | 1 | unsigned __int8 | m_bPauseWarningDisplayed | +------------+------------------------+-------------------------------------+-----------------------------+ | | 7 | | ```` | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x6E8 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x710 | 40 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x738 | 40 | :ref:`CVidFont` | m_preLoadFontTool | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x760 | 4 | unsigned int | m_stSpellsDisabled | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x764 | 4 | int | m_bLearnSpellFailed | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x768 | 4 | unsigned int | m_strLearnSpellFailedReason | +------------+------------------------+-------------------------------------+-----------------------------+ | 0x76C | 4 | int | m_bPauseState | +------------+------------------------+-------------------------------------+-----------------------------+ ---- .. _CScreenJournal: CScreenJournal ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenJournal Class` +------------+------------------------+-------------------------------------+---------------------+ | **Offset** | **Size (Total: 1776)** | **Type** | **Field** | +------------+------------------------+-------------------------------------+---------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+-------------------------------------+---------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+-------------------------------------+---------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+-------------------------------------+---------------------+ | 0x670 | 4 | int | m_bShiftKeyDown | +------------+------------------------+-------------------------------------+---------------------+ | 0x674 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+-------------------------------------+---------------------+ | 0x678 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+-------------------------------------+---------------------+ | 0x679 | 8 | :ref:`CResRef` | m_oldMosaic | +------------+------------------------+-------------------------------------+---------------------+ | 0x681 | 8 | :ref:`CResRef` | m_oldFont | +------------+------------------------+-------------------------------------+---------------------+ | | 3 | | ```` | +------------+------------------------+-------------------------------------+---------------------+ | 0x68C | 4 | unsigned int | m_rgbOldText | +------------+------------------------+-------------------------------------+---------------------+ | 0x690 | 4 | unsigned int | m_rgbOldBackground | +------------+------------------------+-------------------------------------+---------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+---------------------+ | 0x698 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+-------------------------------------+---------------------+ | 0x6C0 | 40 | :ref:`CVidFont` | m_preLoadFontTool | +------------+------------------------+-------------------------------------+---------------------+ | 0x6E8 | 4 | int | m_bPauseState | +------------+------------------------+-------------------------------------+---------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+---------------------+ ---- .. _CScreenLoad: CScreenLoad ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenLoad Class` +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | **Offset** | **Size (Total: 384)** | **Type** | **Field** | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x50 | 60 | Array<:ref:`CKeyInfo`,5> | m_pVirtualKeys | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x8C | 20 | Array | m_pVirtualKeysFlags | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xA0 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | | 3 | | ```` | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xA4 | 4 | int | m_nTopGameSlot | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xA8 | 4 | int | m_nNumGameSlots | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xAC | 4 | int | m_nEngineState | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xB0 | 32 | :ref:`CTypedPtrArray`\<:ref:`CPtrArray`, :ref:`CSaveGameSlot`\*> | m_aGameSlots | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xD0 | 4 | int | m_nCurrentGameSlot | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xD4 | 4 | unsigned int | m_strErrorText | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xD8 | 12 | Array | m_strErrorButtonText | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xE4 | 4 | int | m_nNumErrorButtons | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0xE8 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x120 | 4 | int | m_nMaxSlotNumber | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | | 4 | | ```` | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x128 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x150 | 40 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x178 | 4 | int | m_bHideSoA | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x17C | 4 | int | m_bHideToB | +------------+-----------------------+------------------------------------------------------------------------------------------------------------+----------------------+ ---- .. _CScreenMap: CScreenMap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenMap Class` +------------+------------------------+--------------------------------------------------------+----------------------------+ | **Offset** | **Size (Total: 2320)** | **Type** | **Field** | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x670 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x6A8 | 2 | __int16 | m_nLastPicked | +------------+------------------------+--------------------------------------------------------+----------------------------+ | | 2 | | ```` | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x6AC | 4 | int | m_nErrorState | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x6B0 | 4 | unsigned int | m_strErrorText | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x6B4 | 4 | int | m_nNumErrorButtons | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x6B8 | 12 | Array | m_strErrorButtonText | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x6C4 | 1 | unsigned __int8 | m_bSelectWorldOnUp | +------------+------------------------+--------------------------------------------------------+----------------------------+ | | 3 | | ```` | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x6C8 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x6F0 | 40 | :ref:`CVidFont` | m_preLoadFontTool | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x718 | 40 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x740 | 4 | unsigned int | m_noteStrref | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x744 | 4 | int | m_bShiftKeyDown | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x748 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x74C | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+--------------------------------------------------------+----------------------------+ | | 3 | | ```` | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x750 | 4 | int | m_nClairvoyanceCaster | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x754 | 4 | int | m_nClairvoyanceDuration | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x758 | 1 | unsigned __int8 | m_bClairvoyanceCastInBlack | +------------+------------------------+--------------------------------------------------------+----------------------------+ | | 3 | | ```` | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x75C | 4 | int | m_nScrollState | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x760 | 4 | unsigned int | m_nTimeLButtonHeld | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x764 | 16 | :ref:`CRect` | m_HoldArea | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x774 | 1 | bool | m_bDisplayExploredMap | +------------+------------------------+--------------------------------------------------------+----------------------------+ | | 3 | | ```` | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x778 | 272 | :ref:`CVidMosaic` | m_vmMap | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x888 | 4 | unsigned int | m_mapTint | +------------+------------------------+--------------------------------------------------------+----------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x890 | 8 | :ref:`CGameArea`\* | m_pArea | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x898 | 16 | :ref:`CRect` | m_rViewPort | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x8A8 | 72 | Array<:ref:`MAP_CHAR_POSITIONS`,6> | m_charPositions | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x8F0 | 2 | unsigned __int16 | m_nCharInArea | +------------+------------------------+--------------------------------------------------------+----------------------------+ | | 2 | | ```` | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x8F4 | 4 | int | m_nCharactersChanged | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x8F8 | 4 | unsigned int | m_nUserNoteId | +------------+------------------------+--------------------------------------------------------+----------------------------+ | 0x8FC | 16 | :ref:`CRect` | m_rMap | +------------+------------------------+--------------------------------------------------------+----------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------+----------------------------+ ---- .. _CScreenMovies: CScreenMovies ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenMovies Class` +------------+------------------------+-------------------------------------+---------------------+ | **Offset** | **Size (Total: 1680)** | **Type** | **Field** | +------------+------------------------+-------------------------------------+---------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+-------------------------------------+---------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+-------------------------------------+---------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+-------------------------------------+---------------------+ | 0x670 | 4 | int | m_nEngineState | +------------+------------------------+-------------------------------------+---------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+---------------------+ | 0x678 | 8 | :ref:`CStringList`\* | m_pMovies | +------------+------------------------+-------------------------------------+---------------------+ | 0x680 | 4 | int | m_nMovieIndex | +------------+------------------------+-------------------------------------+---------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+---------------------+ | 0x688 | 8 | :ref:`CString` | m_sSelectedMovie | +------------+------------------------+-------------------------------------+---------------------+ ---- .. _CScreenMultiPlayer: CScreenMultiPlayer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenMultiPlayer Class` +------------+------------------------+-------------------------------------+--------------------------------+ | **Offset** | **Size (Total: 2024)** | **Type** | **Field** | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x670 | 4 | int | m_bCtrlKeyDown | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x674 | 4 | int | m_bShiftKeyDown | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x678 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+-------------------------------------+--------------------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x680 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x6B8 | 4 | int | m_nModifiedCharacterSlot | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x6BC | 4 | int | m_nEngineState | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x6C0 | 4 | int | m_nChatMessageCount | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x6C4 | 4 | int | m_nPermissionsChatMessageCount | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x6C8 | 4 | int | m_nKickPlayerSlot | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x6CC | 4 | int | m_nCharacterSlot | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x6D0 | 1 | unsigned __int8 | m_bMultiplayerStartup | +------------+------------------------+-------------------------------------+--------------------------------+ | | 3 | | ```` | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x6D4 | 4 | int | m_bLastLockAllowInput | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x6D8 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x700 | 40 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x728 | 40 | :ref:`CVidFont` | m_preLoadFontTool | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x750 | 1 | unsigned __int8 | m_bSentGameDemand | +------------+------------------------+-------------------------------------+--------------------------------+ | | 7 | | ```` | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x758 | 48 | Array<:ref:`CString`,6> | m_playerNames | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x788 | 48 | Array<:ref:`CString`,6> | m_characterNames | +------------+------------------------+-------------------------------------+--------------------------------+ | 0x7B8 | 48 | Array<:ref:`CString`,6> | m_characterPortrait | +------------+------------------------+-------------------------------------+--------------------------------+ ---- .. _CScreenOptions: CScreenOptions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenOptions Class` +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | **Offset** | **Size (Total: 1944)** | **Type** | **Field** | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x670 | 4 | int | m_bExitProgram | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | | 4 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x678 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x6B0 | 4 | unsigned int | m_dwErrorTextId | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x6B4 | 4 | unsigned int | m_dwErrorState | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x6B8 | 4 | int | m_nNumErrorButtons | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x6BC | 12 | Array | m_strErrorButtonText | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x6C8 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CGameOptions`\*> | m_lOptionsStack | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x700 | 4 | int | m_bSpriteMirror | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x704 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | | 3 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x708 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x730 | 40 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x758 | 1 | unsigned __int8 | m_bFullScreenOptions | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x759 | 1 | unsigned __int8 | m_bReQuietSound | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | | 2 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x75C | 4 | int | m_nTopKeymap | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x760 | 4 | int | m_nSelectedKeymap | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x764 | 4 | int | m_nNumKeymapEntries | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x768 | 4 | int | m_nKeymapEditIndex | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | | 4 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x770 | 8 | char* | m_cKeymapEditSection | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x778 | 8 | char* | m_cKeymapEditConflictSection | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x780 | 8 | char* | m_cKeymapEditConflictKey | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x788 | 4 | int | m_nKeymapEditConflictIndex | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x78C | 1 | char | m_cKeymapEditConflictValue | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | | 3 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x790 | 4 | int | m_bPauseState | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ | 0x794 | 4 | int | m_nEngineState | +------------+------------------------+------------------------------------------------------------------------------------------------------+------------------------------+ ---- .. _CScreenPriestSpell: CScreenPriestSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenPriestSpell Class` +------------+------------------------+-------------------------------------+------------------------+ | **Offset** | **Size (Total: 1712)** | **Type** | **Field** | +------------+------------------------+-------------------------------------+------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+-------------------------------------+------------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+-------------------------------------+------------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+-------------------------------------+------------------------+ | 0x670 | 4 | int | m_nSpellLevel | +------------+------------------------+-------------------------------------+------------------------+ | 0x674 | 8 | :ref:`CResRef` | m_cResCurrentSpell | +------------+------------------------+-------------------------------------+------------------------+ | 0x67C | 4 | int | m_nErrorState | +------------+------------------------+-------------------------------------+------------------------+ | 0x680 | 4 | unsigned int | m_strErrorText | +------------+------------------------+-------------------------------------+------------------------+ | 0x684 | 4 | int | m_nNumErrorButtons | +------------+------------------------+-------------------------------------+------------------------+ | 0x688 | 12 | Array | m_strErrorButtonText | +------------+------------------------+-------------------------------------+------------------------+ | 0x694 | 4 | int | m_bMultiPlayerViewable | +------------+------------------------+-------------------------------------+------------------------+ | 0x698 | 4 | int | m_nMemorizedSpellIndex | +------------+------------------------+-------------------------------------+------------------------+ | 0x69C | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+-------------------------------------+------------------------+ | | 3 | | ```` | +------------+------------------------+-------------------------------------+------------------------+ | 0x6A0 | 4 | int | m_nEngineState | +------------+------------------------+-------------------------------------+------------------------+ | 0x6A4 | 4 | int | m_bPriestPage | +------------+------------------------+-------------------------------------+------------------------+ | 0x6A8 | 4 | int | m_bPauseState | +------------+------------------------+-------------------------------------+------------------------+ | 0x6AC | 4 | int | m_bControlled | +------------+------------------------+-------------------------------------+------------------------+ ---- .. _CScreenSave: CScreenSave ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenSave Class` +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | **Offset** | **Size (Total: 1880)** | **Type** | **Field** | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x50 | 4 | int | m_bQuitGameSave | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x54 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x4EC | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x674 | 4 | int | m_bShiftKeyDown | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x678 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x67C | 4 | int | m_nTopGameSlot | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x680 | 4 | int | m_nNumGameSlots | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x684 | 4 | int | m_nEngineState | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x688 | 32 | :ref:`CTypedPtrArray`\<:ref:`CPtrArray`, :ref:`CSaveGameSlot`\*> | m_aGameSlots | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x6A8 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x6E0 | 4 | unsigned int | m_strErrorText | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x6E4 | 12 | Array | m_strErrorButtonText | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x6F0 | 4 | int | m_nNumErrorButtons | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x6F4 | 4 | int | m_nCurrentGameSlot | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x6F8 | 4 | int | m_nMaxSlotNumber | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x6FC | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | | 3 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x700 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x728 | 40 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | 0x750 | 4 | int | m_bPauseState | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+------------------------------------------------------------------------------------------------------------+----------------------+ ---- .. _CScreenStart: CScreenStart ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenStart Class` +------------+-----------------------+-------------------------------------+----------------------+ | **Offset** | **Size (Total: 336)** | **Type** | **Field** | +------------+-----------------------+-------------------------------------+----------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+-----------------------+-------------------------------------+----------------------+ | 0x50 | 4 | int | m_bStartMusic | +------------+-----------------------+-------------------------------------+----------------------+ | 0x54 | 4 | int | m_bExitProgram | +------------+-----------------------+-------------------------------------+----------------------+ | 0x58 | 60 | Array<:ref:`CKeyInfo`,5> | m_pVirtualKeys | +------------+-----------------------+-------------------------------------+----------------------+ | 0x94 | 4 | int | m_bCtrlKeyDown | +------------+-----------------------+-------------------------------------+----------------------+ | 0x98 | 20 | Array | m_pVirtualKeysFlags | +------------+-----------------------+-------------------------------------+----------------------+ | 0xAC | 1 | unsigned __int8 | m_bMovieOn | +------------+-----------------------+-------------------------------------+----------------------+ | | 3 | | ```` | +------------+-----------------------+-------------------------------------+----------------------+ | 0xB0 | 4 | int | m_nEngineState | +------------+-----------------------+-------------------------------------+----------------------+ | 0xB4 | 4 | int | m_firstCall | +------------+-----------------------+-------------------------------------+----------------------+ | 0xB8 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+-----------------------+-------------------------------------+----------------------+ | 0xF0 | 4 | int | m_nErrorState | +------------+-----------------------+-------------------------------------+----------------------+ | 0xF4 | 4 | unsigned int | m_strErrorText | +------------+-----------------------+-------------------------------------+----------------------+ | 0xF8 | 4 | int | m_nNumErrorButtons | +------------+-----------------------+-------------------------------------+----------------------+ | 0xFC | 16 | Array | m_strErrorButtonText | +------------+-----------------------+-------------------------------------+----------------------+ | 0x10C | 4 | int | m_bPlayEndCredits | +------------+-----------------------+-------------------------------------+----------------------+ | 0x110 | 4 | int | m_bSplashScreens | +------------+-----------------------+-------------------------------------+----------------------+ | 0x114 | 4 | int | m_bNeedCDCheck | +------------+-----------------------+-------------------------------------+----------------------+ | 0x118 | 4 | int | m_nCurrentDLC | +------------+-----------------------+-------------------------------------+----------------------+ | 0x11C | 4 | int | m_nNumDLC | +------------+-----------------------+-------------------------------------+----------------------+ | 0x120 | 4 | int | m_nLastImageUpdate | +------------+-----------------------+-------------------------------------+----------------------+ | 0x124 | 4 | int | m_nDlcState | +------------+-----------------------+-------------------------------------+----------------------+ | 0x128 | 40 | :ref:`CVidFont` | m_preloadFontStnSml | +------------+-----------------------+-------------------------------------+----------------------+ ---- .. _CScreenStore: CScreenStore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenStore Class` +------------+------------------------+-------------------------------------+----------------------+ | **Offset** | **Size (Total: 2312)** | **Type** | **Field** | +------------+------------------------+-------------------------------------+----------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+-------------------------------------+----------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+-------------------------------------+----------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+-------------------------------------+----------------------+ | 0x670 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+-------------------------------------+----------------------+ | 0x671 | 1 | unsigned __int8 | m_bShiftKeyDown | +------------+------------------------+-------------------------------------+----------------------+ | | 2 | | ```` | +------------+------------------------+-------------------------------------+----------------------+ | 0x674 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+-------------------------------------+----------------------+ | 0x678 | 4 | int | m_nTopGroupItem | +------------+------------------------+-------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+----------------------+ | 0x680 | 56 | :ref:`CPtrList` | m_lGroupItems | +------------+------------------------+-------------------------------------+----------------------+ | 0x6B8 | 4 | int | m_nTopStoreItem | +------------+------------------------+-------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+----------------------+ | 0x6C0 | 56 | :ref:`CPtrList` | m_lStoreItems | +------------+------------------------+-------------------------------------+----------------------+ | 0x6F8 | 4 | int | m_nTopSpellItem | +------------+------------------------+-------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+----------------------+ | 0x700 | 56 | :ref:`CPtrList` | m_lSpellItems | +------------+------------------------+-------------------------------------+----------------------+ | 0x738 | 4 | int | m_nTopIdentifyItem | +------------+------------------------+-------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+----------------------+ | 0x740 | 56 | :ref:`CPtrList` | m_lIdentifyItems | +------------+------------------------+-------------------------------------+----------------------+ | 0x778 | 4 | int | m_nTopDrinkItem | +------------+------------------------+-------------------------------------+----------------------+ | 0x77C | 8 | :ref:`CResRef` | m_cResStore | +------------+------------------------+-------------------------------------+----------------------+ | 0x784 | 8 | :ref:`CResRef` | m_cResBag | +------------+------------------------+-------------------------------------+----------------------+ | 0x78C | 16 | Array | m_adwButtonPanelId | +------------+------------------------+-------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+----------------------+ | 0x7A0 | 8 | :ref:`CStore`\* | m_pStore | +------------+------------------------+-------------------------------------+----------------------+ | 0x7A8 | 8 | :ref:`CStore`\* | m_pBag | +------------+------------------------+-------------------------------------+----------------------+ | 0x7B0 | 4 | int | m_nStoreCost | +------------+------------------------+-------------------------------------+----------------------+ | 0x7B4 | 4 | int | m_nGroupCost | +------------+------------------------+-------------------------------------+----------------------+ | 0x7B8 | 4 | unsigned int | m_dwSpellCost | +------------+------------------------+-------------------------------------+----------------------+ | 0x7BC | 4 | unsigned int | m_dwIdentifyCost | +------------+------------------------+-------------------------------------+----------------------+ | 0x7C0 | 4 | unsigned int | m_dwRoomType | +------------+------------------------+-------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+----------------------+ | 0x7C8 | 24 | :ref:`CAIObjectType` | m_cAIProprietor | +------------+------------------------+-------------------------------------+----------------------+ | 0x7E0 | 24 | :ref:`CAIObjectType` | m_cAICustomer | +------------+------------------------+-------------------------------------+----------------------+ | 0x7F8 | 4 | unsigned int | m_dwDonationAmount | +------------+------------------------+-------------------------------------+----------------------+ | 0x7FC | 4 | int | m_nDrinkRumorIndex | +------------+------------------------+-------------------------------------+----------------------+ | 0x800 | 4 | int | m_nDonateRumorIndex | +------------+------------------------+-------------------------------------+----------------------+ | | 4 | | ```` | +------------+------------------------+-------------------------------------+----------------------+ | 0x808 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+------------------------+-------------------------------------+----------------------+ | 0x840 | 8 | :ref:`CItem`\* | m_pHistoryItem | +------------+------------------------+-------------------------------------+----------------------+ | 0x848 | 4 | int | m_bHistoryUseEnabled | +------------+------------------------+-------------------------------------+----------------------+ | 0x84C | 8 | :ref:`CResRef` | m_cResInfoSpell | +------------+------------------------+-------------------------------------+----------------------+ | 0x854 | 4 | int | m_nChatMessageCount | +------------+------------------------+-------------------------------------+----------------------+ | 0x858 | 4 | int | m_nErrorState | +------------+------------------------+-------------------------------------+----------------------+ | 0x85C | 4 | unsigned int | m_strErrorText | +------------+------------------------+-------------------------------------+----------------------+ | 0x860 | 4 | int | m_nNumErrorButtons | +------------+------------------------+-------------------------------------+----------------------+ | 0x864 | 12 | Array | m_strErrorButtonText | +------------+------------------------+-------------------------------------+----------------------+ | 0x870 | 1 | unsigned __int8 | m_nCharisma | +------------+------------------------+-------------------------------------+----------------------+ | | 7 | | ```` | +------------+------------------------+-------------------------------------+----------------------+ | 0x878 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+-------------------------------------+----------------------+ | 0x8A0 | 40 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+------------------------+-------------------------------------+----------------------+ | 0x8C8 | 40 | :ref:`CVidFont` | m_preLoadFontTool | +------------+------------------------+-------------------------------------+----------------------+ | 0x8F0 | 4 | unsigned int | m_nRequesterAmount | +------------+------------------------+-------------------------------------+----------------------+ | 0x8F4 | 4 | int | m_nRequesterButtonId | +------------+------------------------+-------------------------------------+----------------------+ | 0x8F8 | 4 | int | m_bStoreIndex | +------------+------------------------+-------------------------------------+----------------------+ | 0x8FC | 4 | int | m_bStoreStarted | +------------+------------------------+-------------------------------------+----------------------+ | 0x900 | 4 | int | m_nBagCount | +------------+------------------------+-------------------------------------+----------------------+ | 0x904 | 4 | float | m_fPanStorage | +------------+------------------------+-------------------------------------+----------------------+ ---- .. _CScreenStoreItem: CScreenStoreItem ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------+----------------+ | **Offset** | **Size (Total: 48)** | **Type** | **Field** | +------------+----------------------+-------------------------+----------------+ | 0x0 | 8 | :ref:`CResRef` | m_cResSpell | +------------+----------------------+-------------------------+----------------+ | 0x8 | 8 | :ref:`CItem`\* | m_pItem | +------------+----------------------+-------------------------+----------------+ | 0x10 | 4 | int | m_bSelected | +------------+----------------------+-------------------------+----------------+ | 0x14 | 4 | int | m_bEnabled | +------------+----------------------+-------------------------+----------------+ | 0x18 | 4 | int | m_nSlot | +------------+----------------------+-------------------------+----------------+ | 0x1C | 4 | int | m_nValue | +------------+----------------------+-------------------------+----------------+ | 0x20 | 4 | int | m_nSingleValue | +------------+----------------------+-------------------------+----------------+ | 0x24 | 4 | unsigned int | m_nCount | +------------+----------------------+-------------------------+----------------+ | 0x28 | 4 | unsigned int | m_nMaxCount | +------------+----------------------+-------------------------+----------------+ | 0x2C | 4 | unsigned int | m_nStoreCount | +------------+----------------------+-------------------------+----------------+ ---- .. _CScreenWizSpell: CScreenWizSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenWizSpell Class` +------------+------------------------+---------------------------------------+------------------------------+ | **Offset** | **Size (Total: 1712)** | **Type** | **Field** | +------------+------------------------+---------------------------------------+------------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+---------------------------------------+------------------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+---------------------------------------+------------------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+---------------------------------------+------------------------------+ | 0x670 | 4 | int | m_nSpellLevel | +------------+------------------------+---------------------------------------+------------------------------+ | 0x674 | 4 | int | m_bMultiPlayerViewable | +------------+------------------------+---------------------------------------+------------------------------+ | 0x678 | 4 | int | m_nMemorizedSpellIndex | +------------+------------------------+---------------------------------------+------------------------------+ | 0x67C | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+---------------------------------------+------------------------------+ | | 3 | | ```` | +------------+------------------------+---------------------------------------+------------------------------+ | 0x680 | 4 | int | m_bMagePage | +------------+------------------------+---------------------------------------+------------------------------+ | 0x684 | 1 | unsigned __int8 | m_nContingencyMaxLevel | +------------+------------------------+---------------------------------------+------------------------------+ | 0x685 | 1 | unsigned __int8 | m_nContingencyMaxSpells | +------------+------------------------+---------------------------------------+------------------------------+ | 0x686 | 2 | __int16 | m_bContingencyRestrictTarget | +------------+------------------------+---------------------------------------+------------------------------+ | 0x688 | 8 | :ref:`CBaldurEngine`\* | m_pOldEngine | +------------+------------------------+---------------------------------------+------------------------------+ | 0x690 | 8 | :ref:`CResRef` | m_refContingencyResRef | +------------+------------------------+---------------------------------------+------------------------------+ | 0x698 | 4 | int | m_bControlled | +------------+------------------------+---------------------------------------+------------------------------+ | 0x69C | 4 | int | m_bPauseState | +------------+------------------------+---------------------------------------+------------------------------+ | 0x6A0 | 4 | int | m_bContingency | +------------+------------------------+---------------------------------------+------------------------------+ | 0x6A4 | 8 | :ref:`CResRef` | m_resEraseSpell | +------------+------------------------+---------------------------------------+------------------------------+ | | 4 | | ```` | +------------+------------------------+---------------------------------------+------------------------------+ ---- .. _CScreenWorld: CScreenWorld ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenWorld Class` +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | **Offset** | **Size (Total: 3080)** | **Type** | **Field** | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x50 | 4 | int | m_nStupidMovieWait | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x54 | 4 | int | m_bProtagonistInStartArea | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x58 | 4 | int | m_nProtagonistMoveMax | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x5C | 4 | int | m_bWaitToRender | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x60 | 56 | SDL_Event | flickEvent | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x98 | 4 | int | m_bIgnoreDisplayTextTop | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9C | 4 | int | nCounter | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA0 | 4 | int | m_boredCount | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA4 | 4 | int | m_bored | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA8 | 4 | int | m_playerShutdown | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAC | 4 | int | m_bShiftKeyDown | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB0 | 4 | int | m_bMenuKeyDown | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB4 | 4 | int | m_bCtrlKeyDown | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB8 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBC | 1 | unsigned __int8 | m_bPaused | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBD | 1 | unsigned __int8 | m_bHardPaused | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBE | 1 | unsigned __int8 | m_bHostOnlyPaused | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBF | 1 | unsigned __int8 | m_bVisualPaused | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xC0 | 1 | unsigned __int8 | m_bFirstRender | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 3 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xC4 | 4 | int | m_bPausedBeforePickParty | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xC8 | 4 | int | m_bCheatKeys | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xCC | 4 | int | m_bMButtonDown | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xD0 | 4 | int | m_bMButtonDragged | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xD4 | 4 | int | m_bSetStartViewCenter | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xD8 | 8 | :ref:`CPoint` | m_ptStartViewCenter | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xE0 | 2 | __int16 | m_sequence | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xE2 | 1 | unsigned __int8 | m_facing | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xE3 | 1 | unsigned __int8 | m_bloodLevel | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xE4 | 2 | unsigned __int16 | m_castingGlow | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xE6 | 1 | unsigned __int8 | m_hitEffect | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 1 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xE8 | 2 | __int16 | m_renderText | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 2 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xEC | 4 | int | m_newText | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xF0 | 40 | :ref:`CVidFont` | m_vidFont | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x118 | 40 | :ref:`CVidFont` | m_vidFont2 | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x140 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x5D8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x760 | 136 | :ref:`CGameDialogSprite` | m_internalLoadedDialog | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x7E8 | 8 | :ref:`CGameDialogSprite`\* | m_pCurrentDialog | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x7F0 | 8 | :ref:`CPoint` | m_dialogStartPos | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x7F8 | 8 | :ref:`CResRef` | m_dialogStartArea | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x800 | 4 | int | m_dialogPausing | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x804 | 16 | :ref:`CRect` | m_newViewSize | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x814 | 4 | int | m_bForceViewSize | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x818 | 1 | unsigned __int8 | m_waitingOnResize | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x819 | 1 | unsigned __int8 | m_storeText | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 6 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x820 | 8 | :ref:`CString` | m_consoleText | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x828 | 4 | int | m_nTopContainerRow | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x82C | 4 | int | m_nTopGroupRow | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x830 | 1 | unsigned __int8 | m_bForceDitherToggledOn | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 7 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x838 | 368 | :ref:`CWeather` | m_WeatherController | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9A8 | 4 | int | m_scrollLockId | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9AC | 2 | __int16 | m_nResponseMarker | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 2 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9B0 | 4 | int | m_bBlockStepDialog | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9B4 | 4 | int | m_interactionIndex | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9B8 | 4 | int | m_interactionTarget | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 4 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9C0 | 8 | :ref:`CString` | m_interactionString | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9C8 | 4 | int | m_interactionCounter | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9CC | 4 | int | m_interactionForce | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9D0 | 4 | int | m_interactionTime | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9D4 | 4 | int | m_lastInteractionIndex | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9D8 | 1 | unsigned __int8 | m_bSetNightOnActivate | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9D9 | 1 | unsigned __int8 | m_bSetDayOnActivate | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 2 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9DC | 4 | int | m_ambianceForce | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9E0 | 4 | unsigned int | m_deltaTime | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9E4 | 4 | int | m_nChatMessageCount | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9E8 | 8 | :ref:`CResRef` | m_movie | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9F0 | 1 | unsigned __int8 | m_bInControlOfDialog | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9F1 | 1 | unsigned __int8 | m_bInControlOfStore | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 2 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9F4 | 4 | int | m_bGameOverPanel | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0x9F8 | 8 | :ref:`CResRef` | m_movieDelay | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA00 | 4 | int | m_autoPauseId | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA04 | 4 | unsigned int | m_autoPauseRef | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA08 | 4 | unsigned int | m_autoPauseColor | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA0C | 4 | unsigned int | m_autoPauseName | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA10 | 4 | int | m_nStoreChatMessageCount | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA14 | 4 | int | m_nPickPartyRemoveCharacterId | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA18 | 40 | Array | m_aPickPartyCharacter | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA40 | 4 | int | m_nPickPartyNumCharacters | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA44 | 4 | unsigned int | m_strErrorText | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA48 | 12 | Array | m_strErrorButtonText | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA54 | 4 | unsigned int | m_nDialogPanelOnStartDialog | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA58 | 1 | unsigned __int8 | m_bDialogPressedAButton | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA59 | 1 | unsigned __int8 | m_bEndMajorEventListenToJoin | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA5A | 1 | unsigned __int8 | m_bEndMajorEventPauseStatus | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA5B | 1 | unsigned __int8 | m_bChapterTransitionPending | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA5C | 4 | int | m_nChapterTransition | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA60 | 8 | Array | m_szChapterTransitionResRef | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA68 | 1 | unsigned __int8 | m_bTextScreenTransitionPending | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA69 | 8 | Array | m_szTextScreenTransitionResRef | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA71 | 1 | unsigned __int8 | m_bMoviePending | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA72 | 8 | Array | m_szMovieResRef | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA7A | 1 | unsigned __int8 | m_bPendingMapWorld | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 1 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA7C | 4 | int | m_idPendingMapWorldController | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA80 | 2 | __int16 | m_nPendingMapWorldDirection | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA82 | 1 | unsigned __int8 | m_bRestPending | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA83 | 1 | unsigned __int8 | m_bRestRenting | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA84 | 1 | unsigned __int8 | m_bRestMovie | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 3 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA88 | 4 | int | m_nRestHP | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA8C | 4 | int | m_nRestGP | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA90 | 4 | int | m_nBattleCryTimeOut | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 4 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xA98 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CDeathSound`\*> | m_deathSoundList | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAD0 | 4 | int | m_nPartySizeCheckStartDelay | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAD4 | 1 | unsigned __int8 | m_bPlayEndCredits | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAD5 | 1 | unsigned __int8 | m_bPendingReformParty | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAD6 | 1 | unsigned __int8 | m_bLeaveAreaLuaPanicPending | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 1 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAD8 | 4 | unsigned int | m_ulLeaveAreaLuaPanicTimer | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xADC | 8 | :ref:`CPoint` | m_ptLeaveAreaLuaPanicLocation | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAE4 | 2 | __int16 | m_nLeaveAreaLuaPanicDirection | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 2 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAE8 | 8 | :ref:`CString` | m_sLeaveAreaLuaPanicAreaName | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAF0 | 8 | :ref:`CString` | m_sLeaveAreaLuaPanicParchment | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAF8 | 4 | unsigned int | m_dwPausedTickCount | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xAFC | 4 | unsigned int | m_dwLastDialogTickCount | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB00 | 4 | int | m_lastAmbiance | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB04 | 4 | int | m_comingOutOfDialog | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB08 | 1 | unsigned __int8 | m_nAutoHideInterface | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB09 | 1 | unsigned __int8 | m_nAutoUnhideInterface | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 2 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB0C | 16 | :ref:`CRect` | m_rCurrViewPort | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB1C | 4 | int | m_bLeftPanel | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB20 | 4 | int | m_bRightPanel | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB24 | 1 | unsigned __int8 | m_bCheckRestrict | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 3 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB28 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`,long*> | m_otherTalkers | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB60 | 4 | int | m_nInteractionBlockCnt | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB64 | 4 | int | m_bInteractionBlock | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB68 | 4 | int | m_nStateOverride | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB6C | 4 | int | m_nStateOverrideCnt | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB70 | 4 | int | m_nBlackOutCountDown | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB74 | 4 | int | m_nCutSceneDeadZoneCountDown | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB78 | 4 | int | m_nContainerOutline | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB7C | 4 | int | m_tutorialWaitTimer | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB80 | 4 | int | m_bPausedBeforeStore | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB84 | 4 | int | m_nPauseMessageUpdate | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB88 | 4 | unsigned int | m_deathStrRef | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB8C | 4 | int | m_bHighlightEnabled | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB90 | 4 | float | m_fPanStorage | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB94 | 4 | int | m_bViewingContainer | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB98 | 4 | int | m_bInDialog | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xB9C | 4 | int | m_bDead | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBA0 | 4 | int | m_bInCommand | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBA4 | 4 | int | m_bPickingParty | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBA8 | 4 | int | m_bAutoZooming | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBAC | 4 | float | m_fPreviousZoom | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBB0 | 4 | float | m_fTargetZoom | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBB4 | 16 | :ref:`CRect` | m_rPreviousViewPort | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBC4 | 8 | :ref:`CPoint` | m_ptPreviousView | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBCC | 8 | :ref:`CPoint` | m_ptTarget | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBD4 | 4 | int | m_nZoomCurStep | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBD8 | 16 | :ref:`CRect` | m_rOriginalViewPort | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBE8 | 8 | :ref:`CPoint` | m_ptOriginalView | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBF0 | 4 | float | m_fOriginalZoom | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 4 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xBF8 | 8 | int* | m_storedGroup | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | 0xC00 | 4 | int | m_nStoredGroupMembers | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ | | 4 | | ```` | +------------+------------------------+----------------------------------------------------------------------------------------------------+--------------------------------+ ---- .. _CScreenWorldMap: CScreenWorldMap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenWorldMap Class` +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | **Offset** | **Size (Total: 3976)** | **Type** | **Field** | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x0 | 80 | :ref:`CBaldurEngine` | baseclass_0 | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x50 | 1176 | Array<:ref:`CKeyInfo`,98> | m_pVirtualKeys | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x4E8 | 392 | Array | m_pVirtualKeysFlags | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x670 | 1 | unsigned __int8 | m_bCtrlKeyDown | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x671 | 1 | unsigned __int8 | m_bShiftKeyDown | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | | 2 | | ```` | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x674 | 4 | int | m_bCapsLockKeyOn | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x678 | 56 | :ref:`CPtrList` | m_lPopupStack | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x6B0 | 8 | :ref:`CSize` | m_mapSize | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x6B8 | 4 | int | m_nEngineState | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x6BC | 8 | :ref:`CPoint` | m_ptMapView | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x6C8 | 272 | :ref:`CVidMosaic` | m_vmMap | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x7D8 | 312 | :ref:`CVidCell` | m_vcAreas | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0x910 | 312 | :ref:`CVidCell` | m_vcMarker | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xA48 | 40 | :ref:`CVidFont` | m_vfLabel | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xA70 | 1024 | Array | m_aPalette | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xE70 | 4 | unsigned int | m_wAreaForeground | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xE74 | 4 | unsigned int | m_nHighlightArea | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xE78 | 4 | unsigned int | m_nSelectedArea | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xE7C | 4 | int | m_bSelectedReachable | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xE80 | 4 | int | m_bOverSelectedArea | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xE84 | 8 | :ref:`CPoint` | m_ptMapStartMousePos | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xE8C | 8 | :ref:`CPoint` | m_ptMapStartView | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xE94 | 4 | int | m_bMapDragging | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xE98 | 8 | :ref:`CGameArea`\* | m_pCurrentArea | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xEA0 | 4 | int | m_nLeaderSprite | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xEA8 | 8 | :ref:`CList`\* | m_pPath | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xEB0 | 4 | int | m_nLeavingEdge | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xEB4 | 4 | unsigned int | m_nCurrentLink | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xEB8 | 8 | :ref:`CResRef` | m_cResCurrentArea | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xEC0 | 32 | :ref:`CArray`\<:ref:`CRect`, :ref:`CRect`\&> | m_aAreaRect | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xEE0 | 32 | :ref:`CArray`\<:ref:`CRect`, :ref:`CRect`\&> | m_aAreaMarker | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF00 | 8 | :ref:`CUIControlTextDisplay`\* | m_pChatDisplay | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF08 | 4 | int | m_nChatMessageCount | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF0C | 1 | unsigned __int8 | m_bInControl | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF0D | 1 | unsigned __int8 | m_bClickedArea | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | | 2 | | ```` | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF10 | 4 | int | m_nCurrentSong | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF14 | 4 | unsigned int | m_nToolTip | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF18 | 40 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF40 | 40 | :ref:`CVidFont` | m_preLoadFontTool | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF68 | 1 | unsigned __int8 | m_nScrollState | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF69 | 8 | :ref:`CResRef` | m_rForceRandomEncounter | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | | 7 | | ```` | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF78 | 8 | :ref:`CString` | m_sForcedEncounterEntry | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | 0xF80 | 4 | int | m_bFontDropShadow | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ | | 4 | | ```` | +------------+------------------------+--------------------------------------------------------------------+-------------------------+ ---- .. _CScriptCache: CScriptCache ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScriptCache Class` +------------+----------------------+--------------------------------+-----------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+--------------------------------+-----------------+ | 0x0 | 8 | :ref:`CAIScript`\** | m_scriptMap | +------------+----------------------+--------------------------------+-----------------+ | 0x8 | 4 | int | m_nTableEntries | +------------+----------------------+--------------------------------+-----------------+ | | 4 | | ```` | +------------+----------------------+--------------------------------+-----------------+ ---- .. _CSearchBitmap: CSearchBitmap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSearchBitmap Class` +------------+-----------------------+-------------------------------+-------------------------+ | **Offset** | **Size (Total: 336)** | **Type** | **Field** | +------------+-----------------------+-------------------------------+-------------------------+ | 0x0 | 288 | :ref:`CVidBitmap` | m_resSearch | +------------+-----------------------+-------------------------------+-------------------------+ | 0x120 | 8 | unsigned __int8* | m_pDynamicCost | +------------+-----------------------+-------------------------------+-------------------------+ | 0x128 | 8 | unsigned __int8* | m_snapshotDynamicCost | +------------+-----------------------+-------------------------------+-------------------------+ | 0x130 | 8 | const unsigned __int8* | m_snapshotTerrainTable | +------------+-----------------------+-------------------------------+-------------------------+ | 0x138 | 8 | :ref:`CSize` | m_GridSquareDimensions | +------------+-----------------------+-------------------------------+-------------------------+ | 0x140 | 8 | :ref:`CGameArea`\* | m_pArea | +------------+-----------------------+-------------------------------+-------------------------+ | 0x148 | 1 | unsigned __int8 | m_sourceSide | +------------+-----------------------+-------------------------------+-------------------------+ | 0x149 | 1 | unsigned __int8 | m_snapshotPersonalSpace | +------------+-----------------------+-------------------------------+-------------------------+ | | 6 | | ```` | +------------+-----------------------+-------------------------------+-------------------------+ ---- .. _CSearchRequest: CSearchRequest ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+---------------------------------------+-------------------------+ | **Offset** | **Size (Total: 128)** | **Type** | **Field** | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x0 | 1 | unsigned __int8 | m_serviceState | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x1 | 1 | unsigned __int8 | m_collisionDelay | +------------+-----------------------+---------------------------------------+-------------------------+ | | 2 | | ```` | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x4 | 4 | int | m_collisionSearch | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x8 | 1 | unsigned __int8 | m_sourceSide | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x9 | 1 | unsigned __int8 | m_nPartyIds | +------------+-----------------------+---------------------------------------+-------------------------+ | 0xA | 1 | unsigned __int8 | m_nTargetIds | +------------+-----------------------+---------------------------------------+-------------------------+ | 0xB | 1 | unsigned __int8 | m_nTargetPoints | +------------+-----------------------+---------------------------------------+-------------------------+ | 0xC | 4 | int | m_removeSelf | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x10 | 1 | unsigned __int8 | m_frontList | +------------+-----------------------+---------------------------------------+-------------------------+ | | 7 | | ```` | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x18 | 8 | :ref:`CSearchBitmap`\* | m_searchBitmap | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x20 | 16 | Array | m_terrainTable | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x30 | 4 | int | m_pathSmooth | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x34 | 4 | int | m_exclusiveTargetPoints | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x38 | 4 | int | m_sourceId | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x3C | 8 | tagPOINT | m_sourcePt | +------------+-----------------------+---------------------------------------+-------------------------+ | | 4 | | ```` | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x48 | 8 | int* | m_partyIds | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x50 | 8 | int* | m_targetIds | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x58 | 8 | tagPOINT* | m_targetPoints | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x60 | 4 | int | m_minNodes | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x64 | 4 | int | m_maxNodes | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x68 | 4 | int | m_minNodesBack | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x6C | 4 | int | m_maxNodesBack | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x70 | 4 | int | m_bBump | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x74 | 2 | __int16 | m_searchRc | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x76 | 2 | __int16 | m_nPath | +------------+-----------------------+---------------------------------------+-------------------------+ | 0x78 | 8 | int* | m_pPath | +------------+-----------------------+---------------------------------------+-------------------------+ ---- .. _CSelectiveBonus: CSelectiveBonus ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------------------+---------------+ | **Offset** | **Size (Total: 32)** | **Type** | **Field** | +------------+----------------------+-------------------------------------+---------------+ | 0x0 | 24 | :ref:`CAIObjectType` | m_type | +------------+----------------------+-------------------------------------+---------------+ | 0x18 | 4 | int | m_bonus | +------------+----------------------+-------------------------------------+---------------+ | | 4 | | ```` | +------------+----------------------+-------------------------------------+---------------+ ---- .. _CSelectiveBonusList: CSelectiveBonusList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+------------------------------------------------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 56)** | **Type** | **Field** | +------------+----------------------+------------------------------------------------------------------------------------------------------------+-------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CSelectiveBonus`\*> | baseclass_0 | +------------+----------------------+------------------------------------------------------------------------------------------------------------+-------------+ ---- .. _CSelectiveWeaponType: CSelectiveWeaponType ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-----------------------------------------------------+---------------+ | **Offset** | **Size (Total: 48)** | **Type** | **Field** | +------------+----------------------+-----------------------------------------------------+---------------+ | 0x0 | 4 | int | m_slot | +------------+----------------------+-----------------------------------------------------+---------------+ | | 4 | | ```` | +------------+----------------------+-----------------------------------------------------+---------------+ | 0x8 | 24 | :ref:`CAIObjectType` | m_type | +------------+----------------------+-----------------------------------------------------+---------------+ | 0x20 | 16 | :ref:`CWeaponIdentification` | m_weapon | +------------+----------------------+-----------------------------------------------------+---------------+ ---- .. _CSelectiveWeaponTypeList: CSelectiveWeaponTypeList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+----------------------------------------------------------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 56)** | **Type** | **Field** | +------------+----------------------+----------------------------------------------------------------------------------------------------------------------+-------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CSelectiveWeaponType`\*> | baseclass_0 | +------------+----------------------+----------------------------------------------------------------------------------------------------------------------+-------------+ ---- .. _CSequenceSound: CSequenceSound ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------+-----------+ | **Offset** | **Size (Total: 12)** | **Type** | **Field** | +------------+----------------------+-------------------------+-----------+ | 0x0 | 8 | :ref:`CResRef` | m_sound | +------------+----------------------+-------------------------+-----------+ | 0x8 | 4 | int | m_offset | +------------+----------------------+-------------------------+-----------+ ---- .. _CSequenceSoundList: CSequenceSoundList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSequenceSoundList Class` +------------+----------------------+----------------------------------------------------------------------------------------------------------+----------------+ | **Offset** | **Size (Total: 72)** | **Type** | **Field** | +------------+----------------------+----------------------------------------------------------------------------------------------------------+----------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CSequenceSound`\*> | baseclass_0 | +------------+----------------------+----------------------------------------------------------------------------------------------------------+----------------+ | 0x38 | 8 | __POSITION* | m_currentSound | +------------+----------------------+----------------------------------------------------------------------------------------------------------+----------------+ | 0x40 | 4 | int | m_soundPlaying | +------------+----------------------+----------------------------------------------------------------------------------------------------------+----------------+ | 0x44 | 4 | int | m_channel | +------------+----------------------+----------------------------------------------------------------------------------------------------------+----------------+ ---- .. _CSize: CSize ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. note:: Actually defined as `SIZE `_ but adapted/recreated as its own structure. +------------+---------------------+----------+-------------+ | **Offset** | **Size (Total: 8)** | **Type** | **Field** | +------------+---------------------+----------+-------------+ | 0x0 | 8 | tagSIZE | baseclass_0 | +------------+---------------------+----------+-------------+ ---- .. _CSnowFlake: CSnowFlake ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-----------------------------+----------------------+ | **Offset** | **Size (Total: 60)** | **Type** | **Field** | +------------+----------------------+-----------------------------+----------------------+ | 0x0 | 52 | :ref:`CParticle` | baseclass_0 | +------------+----------------------+-----------------------------+----------------------+ | 0x34 | 1 | unsigned __int8 | m_nDriftWidth | +------------+----------------------+-----------------------------+----------------------+ | 0x35 | 1 | unsigned __int8 | m_nDriftCounter | +------------+----------------------+-----------------------------+----------------------+ | 0x36 | 2 | unsigned __int16 | m_nMeltTime | +------------+----------------------+-----------------------------+----------------------+ | 0x38 | 4 | int | m_nLastDriftVelocity | +------------+----------------------+-----------------------------+----------------------+ ---- .. _CSnowStorm: CSnowStorm ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+---------------------------------+---------------------+ | **Offset** | **Size (Total: 32)** | **Type** | **Field** | +------------+----------------------+---------------------------------+---------------------+ | 0x0 | 8 | :ref:`CSnowFlake`\* | m_pSnowFlakes | +------------+----------------------+---------------------------------+---------------------+ | 0x8 | 2 | unsigned __int16 | m_nCurrentDensity | +------------+----------------------+---------------------------------+---------------------+ | | 2 | | ```` | +------------+----------------------+---------------------------------+---------------------+ | 0xC | 16 | :ref:`CRect` | m_rOldWorldViewPort | +------------+----------------------+---------------------------------+---------------------+ | | 4 | | ```` | +------------+----------------------+---------------------------------+---------------------+ ---- .. _CSound: CSound ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSound Class` +------------+----------------------+-------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 32)** | **Type** | **Field** | +------------+----------------------+-------------------------------------------------------------+-------------+ | 0x0 | 8 | :ref:`CObject` | baseclass_0 | +------------+----------------------+-------------------------------------------------------------+-------------+ | 0x8 | 16 | :ref:`CResHelper`\<:ref:`CResWave`,4> | baseclass_1 | +------------+----------------------+-------------------------------------------------------------+-------------+ | 0x18 | 8 | :ref:`CSoundImp`\* | pimpl | +------------+----------------------+-------------------------------------------------------------+-------------+ ---- .. _CSoundChannel: CSoundChannel ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSoundChannel Class` +------------+----------------------+-------------------------+------------------+ | **Offset** | **Size (Total: 88)** | **Type** | **Field** | +------------+----------------------+-------------------------+------------------+ | 0x0 | 8 | :ref:`CObject` | baseclass_0 | +------------+----------------------+-------------------------+------------------+ | 0x8 | 56 | :ref:`CObList` | lQueue | +------------+----------------------+-------------------------+------------------+ | 0x40 | 4 | int | m_nVolumeInit | +------------+----------------------+-------------------------+------------------+ | 0x44 | 4 | int | nVolume | +------------+----------------------+-------------------------+------------------+ | 0x48 | 4 | int | nType | +------------+----------------------+-------------------------+------------------+ | 0x4C | 1 | bool | bDucked | +------------+----------------------+-------------------------+------------------+ | | 3 | | ```` | +------------+----------------------+-------------------------+------------------+ | 0x50 | 4 | int | m_nDuckingAmount | +------------+----------------------+-------------------------+------------------+ | | 4 | | ```` | +------------+----------------------+-------------------------+------------------+ ---- .. _CSoundExtensionBase: CSoundExtensionBase ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+------------------------+-------------------+ | **Offset** | **Size (Total: 256)** | **Type** | **Field** | +------------+-----------------------+------------------------+-------------------+ | 0x0 | 4 | unsigned int | m_nRange | +------------+-----------------------+------------------------+-------------------+ | 0x4 | 4 | unsigned int | m_dwFlags | +------------+-----------------------+------------------------+-------------------+ | 0x8 | 4 | int | m_nPitchVariance | +------------+-----------------------+------------------------+-------------------+ | 0xC | 4 | int | m_nVolumeVariance | +------------+-----------------------+------------------------+-------------------+ | 0x10 | 240 | Array | reservedSpace | +------------+-----------------------+------------------------+-------------------+ ---- .. _CSoundExtensionFile: CSoundExtensionFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSoundExtensionFile Class` +------------+----------------------+-----------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+-----------------------------------------------------------------+-------------+ | 0x0 | 16 | :ref:`CResHelper`\<:ref:`CResBinary`,5> | baseclass_0 | +------------+----------------------+-----------------------------------------------------------------+-------------+ ---- .. _CSoundImp: CSoundImp ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSoundImp Class` +------------+-----------------------+-------------------------------------------------------------+---------------------+ | **Offset** | **Size (Total: 136)** | **Type** | **Field** | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x0 | 8 | :ref:`CObject` | baseclass_0 | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x8 | 16 | :ref:`CResHelper`\<:ref:`CResWave`,4> | baseclass_1 | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x18 | 8 | :ref:`CSound`\* | m_pParent | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x20 | 4 | int | m_bPositionedSound | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x24 | 4 | int | m_dwBufferSize | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x28 | 4 | int | m_dwFrequency | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x2C | 4 | int | m_nBufferFormat | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x30 | 4 | int | m_nRange | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x34 | 4 | int | m_nRangeVolume | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x38 | 4 | int | m_nXCoordinate | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x3C | 4 | int | m_nYCoordinate | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x40 | 4 | int | m_nZCoordinate | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x44 | 4 | int | m_nPan | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x48 | 4 | int | m_nVolume | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x4C | 1 | bool | m_bSoundInitialized | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | | 3 | | ```` | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x50 | 4 | int | m_nChannel | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x54 | 4 | int | m_nPriority | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x58 | 4 | int | m_nLooping | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x5C | 4 | int | m_nPitchVariance | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x60 | 4 | int | m_nVolumeVariance | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x64 | 1 | bool | m_b3DPositionning | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | | 3 | | ```` | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x68 | 4 | unsigned int | m_nSource | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x6C | 4 | unsigned int | m_nBuffer | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x70 | 1 | bool | m_bFireForget | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | | 7 | | ```` | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x78 | 8 | unsigned __int64 | m_nArea | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x80 | 4 | int | m_dwOverrideFlags | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | 0x84 | 1 | bool | m_bSoundIsntDucked | +------------+-----------------------+-------------------------------------------------------------+---------------------+ | | 3 | | ```` | +------------+-----------------------+-------------------------------------------------------------+---------------------+ ---- .. _CSoundMixer: CSoundMixer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSoundMixer Class` +------------+---------------------+-----------------------------------------+-----------+ | **Offset** | **Size (Total: 8)** | **Type** | **Field** | +------------+---------------------+-----------------------------------------+-----------+ | 0x0 | 8 | :ref:`CSoundMixerImp`\* | pimpl | +------------+---------------------+-----------------------------------------+-----------+ ---- .. _CSoundMixerImp: CSoundMixerImp ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | **Offset** | **Size (Total: 10432)** | **Type** | **Field** | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x0 | 8 | ALCcontext_struct* | alContext | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x8 | 8 | ALCdevice_struct* | alDevice | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x10 | 12 | Array | pos | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x1C | 4 | int | bMixerInitialized | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x20 | 4 | int | bStreamPlaying | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x24 | 4 | int | m_bMusicInitialized | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x28 | 4 | int | bInPositionUpdate | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x2C | 4 | int | bInSoundUpdate | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x30 | 4 | int | bInQueueUpdate | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x34 | 4 | int | bInLoopingUpdate | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x38 | 4 | unsigned int | m_dwEAXProperties | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x3C | 16 | :ref:`CSoundProperties` | m_soundProperties | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x4C | 4 | int | m_nNumSongs | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x50 | 4 | int | m_nLastSong | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x54 | 4 | int | m_nCurrentSong | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x58 | 4 | int | m_nQuietMusicVolume | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | | 4 | | ```` | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x60 | 8 | unsigned __int64 | m_nActiveArea | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x68 | 4 | int | m_nDuckingOn | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | | 4 | | ```` | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x70 | 32 | :ref:`CDWordArray` | m_aMusicSlots | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x90 | 10001 | Array | m_tSqrtTable | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | | 3 | | ```` | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x27A4 | 4 | int | nMaxVoices | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x27A8 | 56 | :ref:`CObList` | lVoices | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x27E0 | 56 | :ref:`CObList` | lWaiting | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x2818 | 56 | :ref:`CObList` | lLooping | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x2850 | 32 | :ref:`CObArray` | aChannels | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x2870 | 4 | int | nMaxChannels | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x2874 | 4 | int | nGlobalVolume | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x2878 | 4 | int | nPanRange | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x287C | 4 | int | nXCoordinate | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x2880 | 4 | int | nYCoordinate | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x2884 | 4 | int | nZCoordinate | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ | 0x2888 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CMusicPosition`\*> | m_lMusicPositions | +------------+-------------------------+----------------------------------------------------------------------------------------------------------+---------------------+ ---- .. _CSoundProperties: CSoundProperties ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------------+--------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+-------------------------------+--------------+ | 0x0 | 16 | :ref:`_EAXPRESET<_EAXPRESET>` | m_iEAXpreset | +------------+----------------------+-------------------------------+--------------+ ---- .. _CSparkle: CSparkle ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+---------------------------------+--------------------+ | **Offset** | **Size (Total: 168)** | **Type** | **Field** | +------------+-----------------------+---------------------------------+--------------------+ | 0x0 | 96 | :ref:`CGameObject` | baseclass_0 | +------------+-----------------------+---------------------------------+--------------------+ | 0x60 | 2 | __int16 | m_nType | +------------+-----------------------+---------------------------------+--------------------+ | | 2 | | ```` | +------------+-----------------------+---------------------------------+--------------------+ | 0x64 | 8 | :ref:`CPoint` | m_posExact | +------------+-----------------------+---------------------------------+--------------------+ | 0x6C | 8 | :ref:`CPoint` | m_posDelta | +------------+-----------------------+---------------------------------+--------------------+ | 0x74 | 8 | :ref:`CPoint` | m_posDest | +------------+-----------------------+---------------------------------+--------------------+ | 0x7C | 1 | unsigned __int8 | m_moveScale | +------------+-----------------------+---------------------------------+--------------------+ | 0x7D | 16 | Array | m_terrainTable | +------------+-----------------------+---------------------------------+--------------------+ | | 1 | | ```` | +------------+-----------------------+---------------------------------+--------------------+ | 0x8E | 2 | __int16 | m_nConjureDuration | +------------+-----------------------+---------------------------------+--------------------+ | 0x90 | 4 | int | m_nTimer | +------------+-----------------------+---------------------------------+--------------------+ | 0x94 | 4 | int | m_destId | +------------+-----------------------+---------------------------------+--------------------+ | 0x98 | 4 | int | m_srcId | +------------+-----------------------+---------------------------------+--------------------+ | | 4 | | ```` | +------------+-----------------------+---------------------------------+--------------------+ | 0xA0 | 8 | :ref:`CAIAction`\* | m_pTargetAction | +------------+-----------------------+---------------------------------+--------------------+ ---- .. _CSparkleCluster: CSparkleCluster ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | **Offset** | **Size (Total: 224)** | **Type** | **Field** | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0x0 | 96 | :ref:`CGameObject` | baseclass_0 | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0x60 | 8 | :ref:`CVidMode`\* | m_pVidMode | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0x68 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CParticle`\*> | m_particleList | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xA0 | 4 | unsigned int | m_colorStart | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xA4 | 4 | unsigned int | m_colorFade1 | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xA8 | 4 | unsigned int | m_colorFade2 | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xAC | 4 | unsigned int | m_colorFade3 | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xB0 | 4 | unsigned int | m_colorFade4 | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xB4 | 1 | unsigned __int8 | m_fade1Height | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xB5 | 1 | unsigned __int8 | m_fade2Height | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xB6 | 1 | unsigned __int8 | m_fade3Height | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xB7 | 1 | unsigned __int8 | m_fade4Height | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xB8 | 16 | :ref:`CRect` | m_rBounding | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xC8 | 2 | unsigned __int16 | m_wType | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | | 2 | | ```` | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xCC | 4 | unsigned int | m_nTimer | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xD0 | 2 | unsigned __int16 | m_nConjureDuration | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | | 2 | | ```` | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xD4 | 8 | :ref:`CPoint` | m_explosionDir | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ | 0xDC | 4 | int | m_nGravity | +------------+-----------------------+------------------------------------------------------------------------------------------------+--------------------+ ---- .. _CSpawn: CSpawn ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpawn Class` +------------+-----------------------+-------------------------------------------+---------------------------+ | **Offset** | **Size (Total: 480)** | **Type** | **Field** | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x0 | 8 | qword | vfptr | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x8 | 4 | unsigned int | Interval | +------------+-----------------------+-------------------------------------------+---------------------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x10 | 8 | :ref:`CString` | SectionAlias | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x18 | 4 | unsigned int | SpawnFlags | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1C | 4 | int | DataIsValid | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x20 | 24 | :ref:`CAIObjectType` | mSearchAI | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x38 | 4 | int | mSearchQty | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x3C | 16 | Array | mSearchRegion | +------------+-----------------------+-------------------------------------------+---------------------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x50 | 8 | :ref:`CSpawnVar`\* | mpSearchKeyVar | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x58 | 8 | :ref:`CSpawnVar`\* | mpSearchQtyVar | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x60 | 56 | :ref:`CStringList` | mCREFiles | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x98 | 4 | int | mCreateQty | +------------+-----------------------+-------------------------------------------+---------------------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xA0 | 8 | :ref:`CString`\* | mpCreateQtyScope | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xA8 | 8 | :ref:`CString`\* | mpCreateQtyLabel | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xB0 | 8 | :ref:`CString`\* | mpScriptName | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xB8 | 1 | unsigned __int8 | mEA | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xB9 | 1 | unsigned __int8 | mGeneral | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xBA | 1 | unsigned __int8 | mRace | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xBB | 1 | unsigned __int8 | mClass | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xBC | 1 | unsigned __int8 | mGender | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xBD | 1 | unsigned __int8 | mSpecifics | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xBE | 1 | unsigned __int8 | mFaction | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xBF | 1 | unsigned __int8 | mTeam | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xC0 | 1 | unsigned __int8 | mAlignment | +------------+-----------------------+-------------------------------------------+---------------------------+ | | 7 | | ```` | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xC8 | 8 | :ref:`CString`\* | mpOverrideScript | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xD0 | 8 | :ref:`CString`\* | mpClassScript | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xD8 | 8 | :ref:`CString`\* | mpRaceScript | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xE0 | 8 | :ref:`CString`\* | mpGeneralScript | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xE8 | 8 | :ref:`CString`\* | mpDefaultScript | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xF0 | 8 | :ref:`CString`\* | mpAreaScript | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0xF8 | 8 | :ref:`CString`\* | mpSpecificsScript | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x100 | 56 | :ref:`CStringList` | mDialogFiles | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x138 | 4 | int | mDeathGoodModifier | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x13C | 4 | int | mDeathLawModifier | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x140 | 4 | int | mDeathLadyModifier | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x144 | 4 | int | mDeathMurderModifier | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x148 | 4 | int | Facing | +------------+-----------------------+-------------------------------------------+---------------------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x150 | 40 | :ref:`CSpawnPointArray` | mSpawnPointArray | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x178 | 24 | :ref:`CSpawnPoint` | mSpelectedPoint | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x190 | 4 | :ref:`CSpawn::ePMode` | mPointSelectMode | +------------+-----------------------+-------------------------------------------+---------------------------+ | | 4 | | ```` | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x198 | 8 | :ref:`CString`\* | pPointIndexScope | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1A0 | 8 | :ref:`CString`\* | pPointIndexLabel | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1A8 | 8 | :ref:`CSpawnPointVar`\* | mpExplicitSpawnPoint | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1B0 | 8 | :ref:`CString`\* | pExplicitSpawnFacingScope | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1B8 | 8 | :ref:`CString`\* | pExplicitSpawnFacingLabel | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1C0 | 8 | :ref:`CSpawnPointVar`\* | mpSpawnPointStorage | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1C8 | 8 | :ref:`CString`\* | pSpawnFacingStorageScope | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1D0 | 8 | :ref:`CString`\* | pSpawnFacingStorageLabel | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1D8 | 4 | int | mSequentialStartValue | +------------+-----------------------+-------------------------------------------+---------------------------+ | 0x1DC | 4 | unsigned int | mTimeOfDay | +------------+-----------------------+-------------------------------------------+---------------------------+ ---- .. _CSpawn\:\:ePMode: CSpawn::ePMode ^^^^^^^^^^^^^^ +---------------------------------+---------------------+ | **Name** | **Value (Size: 4)** | +---------------------------------+---------------------+ | POINT_SELECT_RANDOM_SEQUENTIAL | 0 | +---------------------------------+---------------------+ | POINT_SELECT_SEQUENTIAL | 1 | +---------------------------------+---------------------+ | POINT_SELECT_INDEXED_SEQUENTIAL | 2 | +---------------------------------+---------------------+ | POINT_SELECT_EXPLICIT | 3 | +---------------------------------+---------------------+ ---- .. _CSpawnFile: CSpawnFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpawnFile Class` +------------+----------------------+-----------------------------------------------------------------------+---------------+ | **Offset** | **Size (Total: 80)** | **Type** | **Field** | +------------+----------------------+-----------------------------------------------------------------------+---------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`,void*> | baseclass_0 | +------------+----------------------+-----------------------------------------------------------------------+---------------+ | 0x38 | 8 | :ref:`CSpawnList`\* | mpExitList | +------------+----------------------+-----------------------------------------------------------------------+---------------+ | 0x40 | 8 | :ref:`CSpawnList`\* | mpEnterList | +------------+----------------------+-----------------------------------------------------------------------+---------------+ | 0x48 | 4 | int | m_bInSpawn | +------------+----------------------+-----------------------------------------------------------------------+---------------+ | | 4 | | ```` | +------------+----------------------+-----------------------------------------------------------------------+---------------+ ---- .. _CSpawnList: CSpawnList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpawnList Class` +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | **Offset** | **Size (Total: 96)** | **Type** | **Field** | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | 0x0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CSpawn`\*> | baseclass_0 | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | 0x38 | 8 | :ref:`CString` | mSectionAlias | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | 0x40 | 4 | int | ReceivedFirstSpawnCall | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | 0x44 | 4 | unsigned int | LastSpawnTime | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | 0x48 | 4 | int | CheckSpawnTimes | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | 0x4C | 4 | unsigned int | SpawnTimeOfDay | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | 0x50 | 4 | unsigned int | mInterval | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | | 4 | | ```` | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ | 0x58 | 8 | :ref:`CSpawnVar`\* | pControlVar | +------------+----------------------+------------------------------------------------------------------------------------------+------------------------+ ---- .. _CSpawnPoint: CSpawnPoint ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpawnPoint Class` +------------+----------------------+-----------------------+---------------+ | **Offset** | **Size (Total: 24)** | **Type** | **Field** | +------------+----------------------+-----------------------+---------------+ | 0x0 | 8 | qword | vfptr | +------------+----------------------+-----------------------+---------------+ | 0x8 | 8 | :ref:`CPoint` | mLocation | +------------+----------------------+-----------------------+---------------+ | 0x10 | 4 | int | mFacing | +------------+----------------------+-----------------------+---------------+ | | 4 | | ```` | +------------+----------------------+-----------------------+---------------+ ---- .. _CSpawnPointArray: CSpawnPointArray ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------------------------------------------------------------------------------------+----------------+ | **Offset** | **Size (Total: 40)** | **Type** | **Field** | +------------+----------------------+--------------------------------------------------------------------------------------------------------+----------------+ | 0x0 | 32 | :ref:`CTypedPtrArray`\<:ref:`CPtrArray`, :ref:`CSpawnPoint`\*> | baseclass_0 | +------------+----------------------+--------------------------------------------------------------------------------------------------------+----------------+ | 0x20 | 4 | int | mDefaultFacing | +------------+----------------------+--------------------------------------------------------------------------------------------------------+----------------+ | | 4 | | ```` | +------------+----------------------+--------------------------------------------------------------------------------------------------------+----------------+ ---- .. _CSpawnPointVar: CSpawnPointVar ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-----------------------------+-------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+-----------------------------+-------------+ | 0x0 | 16 | :ref:`CSpawnVar` | baseclass_0 | +------------+----------------------+-----------------------------+-------------+ ---- .. _CSpawnVar: CSpawnVar ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------+-----------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+-------------------------+-----------+ | 0x0 | 8 | :ref:`CString` | mScope | +------------+----------------------+-------------------------+-----------+ | 0x8 | 8 | :ref:`CString` | mLabel | +------------+----------------------+-------------------------+-----------+ ---- .. _CSpell: CSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpell Class` +------------+----------------------+------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+------------------------------------------------------------------+-------------+ | 0x0 | 16 | :ref:`CResHelper`\<:ref:`CResSpell`,1006> | baseclass_0 | +------------+----------------------+------------------------------------------------------------------+-------------+ ---- .. _CSpellLevelDecrementing: CSpellLevelDecrementing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+---------------------+----------+-----------+ | **Offset** | **Size (Total: 8)** | **Type** | **Field** | +------------+---------------------+----------+-----------+ | 0x0 | 4 | int | m_bImmune | +------------+---------------------+----------+-----------+ | 0x4 | 4 | int | m_nLevels | +------------+---------------------+----------+-----------+ ---- .. _CStore: CStore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CStore Class` +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | **Offset** | **Size (Total: 272)** | **Type** | **Field** | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0x0 | 8 | :ref:`CResRef` | m_resRef | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0x8 | 148 | :ref:`CStoreFileHeader` | m_header | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | | 4 | | ```` | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0xA0 | 56 | :ref:`CTypedPtrList`\<:ref:`CPtrList`, :ref:`CStoreFileItem`\*> | m_lInventory | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0xD8 | 8 | unsigned int* | m_pBuyTypes | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0xE0 | 4 | unsigned int | m_nBuyTypes | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | | 4 | | ```` | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0xE8 | 8 | :ref:`CStoreFileDrinks`\* | m_pDrinks | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0xF0 | 4 | unsigned int | m_nDrinks | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | | 4 | | ```` | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0xF8 | 8 | :ref:`CStoreFileSpell`\* | m_pSpells | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0x100 | 4 | unsigned int | m_nSpells | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0x104 | 8 | Array | m_pVersion | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ | 0x10C | 4 | int | m_bLocalCopy | +------------+-----------------------+----------------------------------------------------------------------------------------------------------+---------------+ ---- .. _CStoreFile: CStoreFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+------------------------------------------------------------------+-------------+ | **Offset** | **Size (Total: 16)** | **Type** | **Field** | +------------+----------------------+------------------------------------------------------------------+-------------+ | 0x0 | 16 | :ref:`CResHelper`\<:ref:`CResStore`,1014> | baseclass_0 | +------------+----------------------+------------------------------------------------------------------+-------------+ ---- .. _CStoreFileDrinks: CStoreFileDrinks ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------+----------------+ | **Offset** | **Size (Total: 20)** | **Type** | **Field** | +------------+----------------------+--------------------------+----------------+ | 0x0 | 8 | Array | m_icon | +------------+----------------------+--------------------------+----------------+ | 0x8 | 4 | unsigned int | m_strName | +------------+----------------------+--------------------------+----------------+ | 0xC | 4 | unsigned int | m_nCost | +------------+----------------------+--------------------------+----------------+ | 0x10 | 4 | unsigned int | m_nRumorChance | +------------+----------------------+--------------------------+----------------+ **Notes** Related to `STOR V1.0 Drinks for Sale `_ ---- .. _CStoreFileHeader: CStoreFileHeader ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+-----------------------+--------------------------+-----------------------+ | **Offset** | **Size (Total: 148)** | **Type** | **Field** | +------------+-----------------------+--------------------------+-----------------------+ | 0x0 | 4 | unsigned int | m_nStoreType | +------------+-----------------------+--------------------------+-----------------------+ | 0x4 | 4 | unsigned int | m_strName | +------------+-----------------------+--------------------------+-----------------------+ | 0x8 | 4 | unsigned int | m_nStoreFlags | +------------+-----------------------+--------------------------+-----------------------+ | 0xC | 4 | unsigned int | m_nBuyMarkUp | +------------+-----------------------+--------------------------+-----------------------+ | 0x10 | 4 | unsigned int | m_nSellMarkDown | +------------+-----------------------+--------------------------+-----------------------+ | 0x14 | 4 | unsigned int | m_nAdditionalMarkDown | +------------+-----------------------+--------------------------+-----------------------+ | 0x18 | 2 | unsigned __int16 | m_nStealDifficulty | +------------+-----------------------+--------------------------+-----------------------+ | 0x1A | 2 | unsigned __int16 | m_nMaxItems | +------------+-----------------------+--------------------------+-----------------------+ | 0x1C | 8 | Array | m_script | +------------+-----------------------+--------------------------+-----------------------+ | 0x24 | 4 | unsigned int | m_nbuyTypesOffset | +------------+-----------------------+--------------------------+-----------------------+ | 0x28 | 4 | unsigned int | m_nbuyTypesCount | +------------+-----------------------+--------------------------+-----------------------+ | 0x2C | 4 | unsigned int | m_nInventoryOffset | +------------+-----------------------+--------------------------+-----------------------+ | 0x30 | 4 | unsigned int | m_nInventoryCount | +------------+-----------------------+--------------------------+-----------------------+ | 0x34 | 4 | unsigned int | m_nLore | +------------+-----------------------+--------------------------+-----------------------+ | 0x38 | 4 | unsigned int | m_nIdentifyCost | +------------+-----------------------+--------------------------+-----------------------+ | 0x3C | 8 | Array | m_resRumor | +------------+-----------------------+--------------------------+-----------------------+ | 0x44 | 4 | unsigned int | m_drinkOffset | +------------+-----------------------+--------------------------+-----------------------+ | 0x48 | 4 | unsigned int | m_drinkCount | +------------+-----------------------+--------------------------+-----------------------+ | 0x4C | 8 | Array | m_resDonation | +------------+-----------------------+--------------------------+-----------------------+ | 0x54 | 4 | unsigned int | m_nInnFlags | +------------+-----------------------+--------------------------+-----------------------+ | 0x58 | 4 | unsigned int | m_nRoomCostPeasant | +------------+-----------------------+--------------------------+-----------------------+ | 0x5C | 4 | unsigned int | m_nRoomCostMerchant | +------------+-----------------------+--------------------------+-----------------------+ | 0x60 | 4 | unsigned int | m_nRoomCostNoble | +------------+-----------------------+--------------------------+-----------------------+ | 0x64 | 4 | unsigned int | m_nRoomCostRoyal | +------------+-----------------------+--------------------------+-----------------------+ | 0x68 | 4 | unsigned int | m_spellOffset | +------------+-----------------------+--------------------------+-----------------------+ | 0x6C | 4 | unsigned int | m_spellCount | +------------+-----------------------+--------------------------+-----------------------+ | 0x70 | 4 | unsigned int | m_rouletMaxBet | +------------+-----------------------+--------------------------+-----------------------+ | 0x74 | 4 | unsigned int | m_crapsMaxBet | +------------+-----------------------+--------------------------+-----------------------+ | 0x78 | 4 | unsigned int | m_wheelMaxBet | +------------+-----------------------+--------------------------+-----------------------+ | 0x7C | 4 | unsigned int | m_rouletWinChance | +------------+-----------------------+--------------------------+-----------------------+ | 0x80 | 4 | unsigned int | m_crapsWinChance | +------------+-----------------------+--------------------------+-----------------------+ | 0x84 | 4 | unsigned int | m_wheelWinChance | +------------+-----------------------+--------------------------+-----------------------+ | 0x88 | 4 | unsigned int | m_rouletWinAmount | +------------+-----------------------+--------------------------+-----------------------+ | 0x8C | 4 | unsigned int | m_crapsWinAmount | +------------+-----------------------+--------------------------+-----------------------+ | 0x90 | 4 | unsigned int | m_wheelWinAmount | +------------+-----------------------+--------------------------+-----------------------+ **Notes** Related to `STOR V1.0 Header `_ ---- .. _CStoreFileItem: CStoreFileItem ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+---------------------------+----------------+ | **Offset** | **Size (Total: 28)** | **Type** | **Field** | +------------+----------------------+---------------------------+----------------+ | 0x0 | 8 | Array | m_itemId | +------------+----------------------+---------------------------+----------------+ | 0x8 | 2 | unsigned __int16 | m_wear | +------------+----------------------+---------------------------+----------------+ | 0xA | 6 | Array | m_usageCount | +------------+----------------------+---------------------------+----------------+ | 0x10 | 4 | unsigned int | m_dynamicFlags | +------------+----------------------+---------------------------+----------------+ | 0x14 | 4 | unsigned int | m_nInStock | +------------+----------------------+---------------------------+----------------+ | 0x18 | 4 | unsigned int | m_nStoreFlags | +------------+----------------------+---------------------------+----------------+ **Notes** Related to `STOR V1.0 Items for Sale `_ ---- .. _CStoreFileSpell: CStoreFileSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+--------------------------+-----------+ | **Offset** | **Size (Total: 12)** | **Type** | **Field** | +------------+----------------------+--------------------------+-----------+ | 0x0 | 8 | Array | m_spell | +------------+----------------------+--------------------------+-----------+ | 0x8 | 4 | unsigned int | m_cost | +------------+----------------------+--------------------------+-----------+ **Notes** Related to `STOR V1.0 Cures for Sale `_ ---- .. _CString: CString ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CString Class` +------------+---------------------+----------+-----------+ | **Offset** | **Size (Total: 8)** | **Type** | **Field** | +------------+---------------------+----------+-----------+ | 0x0 | 8 | char* | m_pchData | +------------+---------------------+----------+-----------+ C Definition :: typedef struct tagCString { DWORD m_pchData; } CString; // size 0x4 ---- .. _CStringData: CStringData ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+----------+--------------+ | **Offset** | **Size (Total: 12)** | **Type** | **Field** | +------------+----------------------+----------+--------------+ | 0x0 | 4 | int | nRefs | +------------+----------------------+----------+--------------+ | 0x4 | 4 | int | nDataLength | +------------+----------------------+----------+--------------+ | 0x8 | 4 | int | nAllocLength | +------------+----------------------+----------+--------------+ ---- .. _CStringList: CStringList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CStringList Class` +------------+----------------------+-------------------------------------------------+---------------+ | **Offset** | **Size (Total: 56)** | **Type** | **Field** | +------------+----------------------+-------------------------------------------------+---------------+ | 0x0 | 8 | :ref:`CObject` | baseclass_0 | +------------+----------------------+-------------------------------------------------+---------------+ | 0x8 | 8 | :ref:`CStringList::CNode`\* | m_pNodeHead | +------------+----------------------+-------------------------------------------------+---------------+ | 0x10 | 8 | :ref:`CStringList::CNode`\* | m_pNodeTail | +------------+----------------------+-------------------------------------------------+---------------+ | 0x18 | 4 | int | m_nCount | +------------+----------------------+-------------------------------------------------+---------------+ | | 4 | | ```` | +------------+----------------------+-------------------------------------------------+---------------+ | 0x20 | 8 | :ref:`CStringList::CNode`\* | m_pNodeFree | +------------+----------------------+-------------------------------------------------+---------------+ | 0x28 | 8 | :ref:`CPlex`\* | m_pBlocks | +------------+----------------------+-------------------------------------------------+---------------+ | 0x30 | 4 | int | m_nBlockSize | +------------+----------------------+-------------------------------------------------+---------------+ | | 4 | | ```` | +------------+----------------------+-------------------------------------------------+---------------+ ---- .. _CStringList\:\:CNode: CStringList::CNode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------------------+-------------------------------------------------+-----------+ | **Offset** | **Size (Total: 24)** | **Type** | **Field** | +------------+----------------------+-------------------------------------------------+-----------+ | 0x0 | 8 | :ref:`CStringList::CNode`\* | pNext | +------------+----------------------+-------------------------------------------------+-----------+ | 0x8 | 8 | :ref:`CStringList::CNode`\* | pPrev | +------------+----------------------+-------------------------------------------------+-----------+ | 0x10 | 8 | :ref:`CString` | data | +------------+----------------------+-------------------------------------------------+-----------+